M
MrDavePet
Using Win XP Pro, I am trying to launch my O-2003 mde using this code
from a button on a form:
This code works-
Dim stAppName, MyFile As String
MyFile = " C:\_ICDB\ICDBFEr2.mde "
stAppName = "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
& MyFile
Call Shell(stAppName, 1)
The following code does not work. How can I fix it?
Dim stAppName, MyFile As String
MyFile = " C:\Program Files\_ICDB\ICDBFEr2.mde "
stAppName = "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
& MyFile
Call Shell(stAppName, 1)
I get the error "can't find the database c:\Program.mdB" (why MDB)?.
(Yes the file is really at "C:\Program Files\_ICDB\ICDBFEr2.mde"
from a button on a form:
This code works-
Dim stAppName, MyFile As String
MyFile = " C:\_ICDB\ICDBFEr2.mde "
stAppName = "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
& MyFile
Call Shell(stAppName, 1)
The following code does not work. How can I fix it?
Dim stAppName, MyFile As String
MyFile = " C:\Program Files\_ICDB\ICDBFEr2.mde "
stAppName = "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
& MyFile
Call Shell(stAppName, 1)
I get the error "can't find the database c:\Program.mdB" (why MDB)?.
(Yes the file is really at "C:\Program Files\_ICDB\ICDBFEr2.mde"