programmatically convert accdb to accde

U

uGek010

Does anyone know what the VBA command is for making a 2007 database (Accdb)
to a Accde?

I just upgraded to 2007 but can't find any references to replace this line
of code

MyDB.DoCmd.RunCommand acCmdMakeMDEFile

In advance, your assistance is greatly appreciated.
 
U

uGek010

Found the answer

Public Function MakeACCDESysCmd(InPath As String, OutPath As String)

Dim app As New Access.Application

app.AutomationSecurity = msoAutomationSecurityLow

app.SysCmd 603, InPath, OutPath

End Function
 
Top