Code extraction from mdb file

viorel333

New member
Local time
Today, 12:26
Joined
Feb 22, 2009
Messages
2
I have an old Access 2000 mdb file .It is somehow protected cause I can't see the code in it .Not with password ,nor digitally signed all I get when trying to edit the modules in VB is a message that say "Project is unviewable" .
I tried to split the mdb but even so the code ,macros and forms are not selectable. Can anyone give me an idea how to obtain the code ?
 
Have you tried Compact and Repair of the .mdb.?
 
Yes I did. No result.
 
If you can create/design a module (without it requesting a pasword) then most likely the code has not been protected. If you are prompted then you can be sure it has. The only way to access the code is to get it from the person who set the password.

You could try

Application.SaveAsText acModule , , "YourModuleName","C:\....txt"

Do the same for the other objects

This saves the objects as text files which you can edit in wordpad and also reverse the code to recreate in a new mdb.

Never tested on a protected mdb.


David
 

Users who are viewing this thread

Back
Top Bottom