Link to home
Start Free TrialLog in
Avatar of PMH4514
PMH4514

asked on

C++, Connect to Access DB with no ODBC entry?

I'm using VC++ 6.0

Consider:

CDatabase pDB=NULL;
pDB->OpenEx(_T("DSN=MYDBNAME;UID=me;PWD=mypw"));

The ODBC entry points to a Microsoft Access Database.

Is it possible for me to connect to the database file in the absence of an ODBC entry?

Avatar of Surone1
Surone1
Flag of Suriname image

you would need to use an ADO connection
maybe the following link helps you:
http://cherrycitysoftware.com/ccs/Providers/ProvPalmDB.aspx
ASKER CERTIFIED SOLUTION
Avatar of Surone1
Surone1
Flag of Suriname image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of PMH4514
PMH4514

ASKER

ahh I see. thanks!
Avatar of PMH4514

ASKER

perfect