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 2010/05/27 1:11 UTC
Read the original article Hit count: 432

Filed under:
|

Hai

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