HKFuey
asked on
Vb syntax Visual Studio 2010: Shell syntax
I am trying to launch an Access Database but it does not work: -
Dim Pathstr As String
Pathstr = "C:\Program Files\Microsoft Office\Office12\MSACCESS.EXE"
Dim Exestr As String
Exestr = "C:\My Folder\My AccessDb.mdb"
MsgBox(Pathstr & " " & Exestr)
Shell(Pathstr & " " & Exestr)
I think it may be the spaces in the folder name, can anyone help?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER