Hi

does anybody know how to export the complete VBA-Code
of an Access-MDB to individual files?
I'd like to automate this task using VBScript.
I know there is a Modules- and a Forms-collection as
member of the Application object, but I don not know how
to open the MDB-Project that is protected by an workspace
file (with usr+pwd).

Any hints?

Viele Gruesse und TIA
Alex

Re: Export Access VBA-Code by TDM

TDM
Tue Apr 10 17:12:39 CDT 2007


"Alexander Mueller" <millerax@hotmail.com> wrote in message
news:461964a3$0$6394$9b4e6d93@newsspool2.arcor-online.net...
> Hi
>
> does anybody know how to export the complete VBA-Code
> of an Access-MDB to individual files?
> I'd like to automate this task using VBScript.
> I know there is a Modules- and a Forms-collection as
> member of the Application object, but I don not know how
> to open the MDB-Project that is protected by an workspace
> file (with usr+pwd).
>
> Any hints?
>
> Viele Gruesse und TIA
> Alex

I put together a script export the VBA code to files, but it
does not support the WorkGroup security you mention. I
also have no way of testing it against a WorkGroup secured DB
but in theory, you would use the OpenConnection method to
connect with the username and PW.

If you want me to post it anyway, let me know and I can do so.

TDM