R
Roberto
Friends:
"How to Programmatically Save a Database or Project as an MDE or ADE File"
without accmdMakemdefile????
Microsoft have this solutions (with accmdMakemdefile):
http://support.microsoft.com/defaul...port/kb/articles/Q202/0/39.ASP&NoWebContent=1
Function GenerateMDEFile(MyPath As String)
Dim NAcc As Access.Application
Set NAcc = CreateObject("Access.Application")
'The following lines simulate accepting the default
'name, clicking Make MDE, and clicking Save
SendKeys MyPath & "{Enter}{Enter}"
SendKeys "{Enter}"
NAcc.DoCmd.RunCommand acCmdMakeMDEFile
Set NAcc = Nothing
End Function
the code uses SendKeys, but is not a robust method.
If you have any answer for me, I'm going to appreciate it
Thanks , best regards
Mari Hickmann
"How to Programmatically Save a Database or Project as an MDE or ADE File"
without accmdMakemdefile????
Microsoft have this solutions (with accmdMakemdefile):
http://support.microsoft.com/defaul...port/kb/articles/Q202/0/39.ASP&NoWebContent=1
Function GenerateMDEFile(MyPath As String)
Dim NAcc As Access.Application
Set NAcc = CreateObject("Access.Application")
'The following lines simulate accepting the default
'name, clicking Make MDE, and clicking Save
SendKeys MyPath & "{Enter}{Enter}"
SendKeys "{Enter}"
NAcc.DoCmd.RunCommand acCmdMakeMDEFile
Set NAcc = Nothing
End Function
the code uses SendKeys, but is not a robust method.
If you have any answer for me, I'm going to appreciate it
Thanks , best regards
Mari Hickmann