
Password protected database (DAO)
Connect Client
==========
Client will form the correct connect string and pass it to
CDaoDatabase::Open.
Change Password
============
In the VC++ IDE using Tools / Com / Object Viewer I can start the object
viewer and choose File / View Typelib. If I open MSACC9.OLB I can see that
under the typedef enum acCommand that there is a constant
acCmdSetDatabasePassword = 275. So it would appear that you would use a
DoCmd::Run(acCmdSetDatabasePassword)
although it will probably just present you with the change password dialog
box within Access.
Quote:
> Hello people!
> I need to know how to operate on password protected *.mdb - I suppose it
> concerns CDaoWorkspace class. How such a protected Access' base should be
> legally operated via client? In addition, I want to add "Change password"
> functionality. How?
> Thanks in advance,
> Peter