Making mde using code

  • Thread starter Thread starter Guest
  • Start date Start date
in message:
How to I make an mde using vba code?

Here is some code by MVP Dirk "Yoda" Goldgar:

'----- start of code -----
Sub MakeMyMDE()

Dim accApp As Access.Application

Const PathToMDB As String = "C:\Your Path\YourApp.mdb"
Const PathToMDE As String = "C:\Your Path\YourApp.mde"

Set accApp = New Access.Application

accApp.SysCmd 603, PathToMDB , PathToMDE

accApp.Quit

Set accApp = Nothing

End Sub
'----- end of code -----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top