CDatabase error
-
Hi friends I am using CDatabase class to open Access database in my program. Sometimes it shows an error "Specified driver could not be loaded due to system error 1114 (MICROSOFT ACCESS DRIVER (*.mdb))". How can i resolve this problem thanks in advance
-kk.tvm-
-
Hi friends I am using CDatabase class to open Access database in my program. Sometimes it shows an error "Specified driver could not be loaded due to system error 1114 (MICROSOFT ACCESS DRIVER (*.mdb))". How can i resolve this problem thanks in advance
-kk.tvm-
i thinks its come from u r not disposing the db object .not exactly .. could u write your ConnectionString ...
:~ Failure is Success If we learn from it!!:~
-
i thinks its come from u r not disposing the db object .not exactly .. could u write your ConnectionString ...
:~ Failure is Success If we learn from it!!:~
-
Hi Connection string as follows m_strDBConnect = "ODBC;DRIVER={MICROSOFT ACCESS DRIVER (*.mdb)};DSN='';DBQ=c:\abc.mdb" thanks in advance
-kk.tvm-
i dont know ..why that error comes ..any way u try this ..
CDatabase dbStar; CString strConnection = _T("Driver={Microsoft Access Driver (*.mdb)};Dbq=D:\\Sample.MDB;Uid=;Pwd=;"); if ( dbStar.Open(_T(""),false,true,strConnection,true)) { // Do Something().. }
and tell me the result ...?:~ Failure is Success If we learn from it!!:~