J
Julie
I was working with Access using ADO. Everything went well
until I put password to protecte the Access database file
and tried to open it. Here is the code and it refuse to
open the Access file.
_ConnectionPtr pConnection = NULL;
pConnection.CreateInstance(__uuidof(Connection);
CString sSource(_T("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\\test.mdb;"));
CString sPassword("123456");
pConnection->Open((LPCTSTR)sSource, "", (LPCTSTR)
sPassword, adConnectUnspecified);
Please help me if you knew the answer. My email
(e-mail address removed)
Julie
Please help me
until I put password to protecte the Access database file
and tried to open it. Here is the code and it refuse to
open the Access file.
_ConnectionPtr pConnection = NULL;
pConnection.CreateInstance(__uuidof(Connection);
CString sSource(_T("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\\test.mdb;"));
CString sPassword("123456");
pConnection->Open((LPCTSTR)sSource, "", (LPCTSTR)
sPassword, adConnectUnspecified);
Please help me if you knew the answer. My email
(e-mail address removed)
Julie
Please help me