From: Tony Toews [MVP] on
Bernd Gilles <newsgroups(a)gilles-family.de> wrote:

>> Does anyone know if there is a way of saving an access mdb as a .mde
>> file using code, if there is I would be very grateful of some pointers
>> in the right direction on how it is done.
>
>http://www.trigeminal.com/lang/1031/utility.asp?ItemID=8#8
>
>or
>
>SysCmd 603 , "YourMdb", "YourMde"
>
>maybe you have to use a new access-instance for this

No, you don't need a new access instance. However you can't be
running the code from the database you wish to make the MDE. You have
to run it from an external "utility" mdb.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/
Granite Fleet Manager http://www.granitefleet.com/