if(!m_TestDatabase.Open(
NULL, // Data source name,
// NULL if defined in
// DSN below
FALSE, // exclusive access,
// NOT SUPPORTED ,
// should always be FALSE
FALSE, // TRUE = read only access
"ODBC;DSN=MS Access 97 Database"
// connect string where DSN= is the data source name
// found in ODBC32 utility, UID= is user id, PSW= is password
)
{
.........
}