hawyuan
asked on
Compact MDB file in VC++
I need to write program to compact database file in VC++. I tried to use the sample program found on MSDN document and got lots of compiler error on "dbdao.h" file. Please help!
#include <afxole.h>
#include <dbdao.h>
...
CdbDBEngine dben;
...
dben.CompactDatabase( _T("Northwind.mdb"), _T("Nwind2.mdb"),
dbLangGeneral, // This is really a string.
dbVersion30);
#include <afxole.h>
#include <dbdao.h>
...
CdbDBEngine dben;
...
dben.CompactDatabase( _T("Northwind.mdb"), _T("Nwind2.mdb"),
dbLangGeneral, // This is really a string.
dbVersion30);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.