I have written a class to start Microsoft Access from Visual C++.

The class works fine , it starts MsAccess , open the database and run the module inside the MS Access.

i open the database by calling the
OpenCurrentDatabase - method on the application pointer

But if i set a password to my Ms access database, it asks for the password after opening the database.

if their a method by which i can open the database and supply the password alongwith, so that the user does not have to enter the password.