AccessGuruCarl
Programmer
How can open the .mdb!!! after creating the .exe file
Shell "msaccess.exe" "D:\test\test.mdb"
*** doesn't work at all
Shell "C:\Program Files\Microsoft Office\Office10\msaccess.exe" "D:\test\test.mdb"
** this works in the vb form,
** but not in the Test.exe file consistantly......
Is there another way to open this?
Here is the code I'm using:
Dim myApp As String
Dim myMDB As String
myApp = "C:\Program Files\Microsoft Office\Office10\msaccess.exe"
myMDB = CurDir & "\EDI_Pro.mdb"
myApp = dblQts & myApp & dblQts & " " & dblQts & myMDB & dblQts
Debug.Print myApp
Shell myApp, vbMaximizedFocus
AccessGuruCarl
Programmers helping programmers
you can't find a better site.
Shell "msaccess.exe" "D:\test\test.mdb"
*** doesn't work at all
Shell "C:\Program Files\Microsoft Office\Office10\msaccess.exe" "D:\test\test.mdb"
** this works in the vb form,
** but not in the Test.exe file consistantly......
Is there another way to open this?
Here is the code I'm using:
Dim myApp As String
Dim myMDB As String
myApp = "C:\Program Files\Microsoft Office\Office10\msaccess.exe"
myMDB = CurDir & "\EDI_Pro.mdb"
myApp = dblQts & myApp & dblQts & " " & dblQts & myMDB & dblQts
Debug.Print myApp
Shell myApp, vbMaximizedFocus
AccessGuruCarl
Programmers helping programmers
you can't find a better site.