Access - how to programatically unlock vba code (1 Viewer)

dreamdelerium

Registered User.
Local time
Yesterday, 16:29
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?
 

Guus2005

AWF VIP
Local time
Today, 01:29
Joined
Jun 26, 2007
Messages
2,641
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

Top Bottom