I have the following connection string that can't open my database. Does anybody here know what's wrong with this string?


Code:
char strConnAccess[] = "Driver = {Microsoft Access Driver (*.mdb)};DBQ = C:\\DC2004.mdb;";//

I know my program works because I can open it with

Code:
char strConnJet[] = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\\DC2004.mdb; User Id=admin; Password="; //Works

I'm using the string examples from:

http://www.sqlstrings.com/MS-Access-...on-strings.htm