Access - how to programatically unlock vba code

dreamdelerium

Registered User.
Local time
Today, 14:42
Joined
Aug 24, 2007
Messages
88
hi all,
anyone know how to unlock vba code using vba code? i have a project that will open another access database and inject vba modules, forms, macros, etc into it. (this way i can easily update my projects). the problem is it wont work if the project im injecting the code into is locked. so, i need to find a way to unlock the project first before doing the injection stuff. (i know the password to the project).

any ideas?
 
Try this link.

The database is locked because people are using it. Remove all users and do what you have to do...

HTH:D
 

Users who are viewing this thread

Back
Top Bottom