CreateDatabase Method Example (VC++)

This example uses CreateDatabase to create a new, encrypted Database object. The example enumerates the properties of the new database, and then closes it.

See How to Build the DAO Method Samples.

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