R
rubyt
I am launching Access using the Shell function and passing
an argument which is the path and filename of the .mdb
file to run. The path to the .mdb file is
C:\Documents and Settings\ruby\my.mdb and no matter what I
do to pass this path (which has a space in the path name
after "Documents"), the Shell function always sees the
space and won't run. I've tried concatenating strings,
but Shell doesn't like single quotes either around the
argument.
dim strX as string
strX = "c:\program files\microsoft
office\office\msaccess.exe c:\Documents and
Settings\ruby\my.MDB"
call shell(strX,1)
It comes back with a message that it can't find
c:\Documents.mdb.
Anyone know what to do?
an argument which is the path and filename of the .mdb
file to run. The path to the .mdb file is
C:\Documents and Settings\ruby\my.mdb and no matter what I
do to pass this path (which has a space in the path name
after "Documents"), the Shell function always sees the
space and won't run. I've tried concatenating strings,
but Shell doesn't like single quotes either around the
argument.
dim strX as string
strX = "c:\program files\microsoft
office\office\msaccess.exe c:\Documents and
Settings\ruby\my.MDB"
call shell(strX,1)
It comes back with a message that it can't find
c:\Documents.mdb.
Anyone know what to do?