vbprog1999
Programmer
If I execute a startdoc with this function I get the function to execute and
the access database executable works.
Function StartDoc(DocName As String) As Long
Dim Scr_hDC As Long
Scr_hDC = GetDesktopWindow()
StartDoc = ShellExecute(Scr_hDC, "Open", DocName, _
"", "C:\", SW_SHOWNORMAL)
End Function
r = StartDoc("F:\abc folder\abc application.mde")
This is where I need some help.
How do I send the parameters of a workgroup infromation file.
"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "C:\Program
Files\abc\abc application.mde" /wrkgrp "C:\ABC\ABC Data\Data\abc workgroupinfofile.mdw"
....Everytime startdoc executes I get a "file not found" error. All the paths are from a short cut to the application on the desktop. That works.
Is there a way to just send an api call to the shortcut on the desktop?
Manage Your Profile |Rules of Conduct
the access database executable works.
Function StartDoc(DocName As String) As Long
Dim Scr_hDC As Long
Scr_hDC = GetDesktopWindow()
StartDoc = ShellExecute(Scr_hDC, "Open", DocName, _
"", "C:\", SW_SHOWNORMAL)
End Function
r = StartDoc("F:\abc folder\abc application.mde")
This is where I need some help.
How do I send the parameters of a workgroup infromation file.
"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "C:\Program
Files\abc\abc application.mde" /wrkgrp "C:\ABC\ABC Data\Data\abc workgroupinfofile.mdw"
....Everytime startdoc executes I get a "file not found" error. All the paths are from a short cut to the application on the desktop. That works.
Is there a way to just send an api call to the shortcut on the desktop?
Manage Your Profile |Rules of Conduct