P
PJ
I need to launch an external program using a macro and open a project in the
process. The executable file resides on a shared drive as does the project I
need to open. I've looked at the shell command but can't figure out how to
pass the variables. I keep receiving the following message:
Compile error:
Expected: List separator or )
There is a different version of the software installed on the local hard
drive and it will try to open the project from there, but that won't work.
So I need to specify the "start in" folder for it to work properly.
Program resides here:
g:\apps\my prog\myprog.exe
Project resides here:
g:\files\ my project\myprojname.xxx
So I have this but it doesn't work. How can I modify it so it will launch
using the executable from the shared drive?
RetVal = Shell("g:\apps\my prog\myprog.exe" "g:\files\ my
project\myprojname.xxx", 1)
process. The executable file resides on a shared drive as does the project I
need to open. I've looked at the shell command but can't figure out how to
pass the variables. I keep receiving the following message:
Compile error:
Expected: List separator or )
There is a different version of the software installed on the local hard
drive and it will try to open the project from there, but that won't work.
So I need to specify the "start in" folder for it to work properly.
Program resides here:
g:\apps\my prog\myprog.exe
Project resides here:
g:\files\ my project\myprojname.xxx
So I have this but it doesn't work. How can I modify it so it will launch
using the executable from the shared drive?
RetVal = Shell("g:\apps\my prog\myprog.exe" "g:\files\ my
project\myprojname.xxx", 1)