OpenDatabase Method Example (VC++)

This example opens a Microsoft Jet database and two Microsoft Jet-connected ODBC data sources, and then enumerates their properties.

See How to Build the DAO Method Samples.

On the MSDN Library discIf you have installed the DAO SDK, see Samples\dbdaoInstallDirectory\DAOSDK\SAMPLES\OpenDatabase.cpp.