OLEDB connection to Access database using DSN

Posted by somu on Stack Overflow See other posts from Stack Overflow or by somu
Published on 2009-04-03T10:32:13Z Indexed on 2011/11/13 17:51 UTC
Read the original article Hit count: 422

Filed under:
|

i want oledb connection using Dsn. I used the following code

'Dsn Create
 dbRegBase.RegisterDatabase("GEMINI", "Microsoft Access Driver (*.mdb)", True,DBQ=D:\Gemini\GEMINI\database\paints_01_2008-2009.mdb
Description=Greenchip Technologies ODBC Database File Path
OemToAnsi=No
UID=admin
PWD=XXXXXX

conection code
Provider=Microsoft.Jet.OLEDB.4.0;DBQ ='GEMINI';Persist Security Info=False;Jet OleDB:Database Password = XXXXXX

But Error come error name is "Could not find installable ISAM" what i do . please tell me.

© Stack Overflow or respective owner

Related posts about ms-access

Related posts about oledb