Disable password box

D

Dan Rock

I have set a database password (MS Access 2003 - Lock project for viewing)
and everything works fine except that when I open a referenced mde, I get
access's enter password box.
My mde's are not password protected, since a user cannot view the code in
them anyway.
The code i am using to open the mde is below:

References.AddFromFile (strPath)
strModule = "[" & Left(strModule, Len(strModule) - 4) & "]."
Application.Run strFunction

Can anyone tell me how the keep the password box from coming up, and still
"Lock project for viewing" in my mdb.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top