At 06:19 PM 6/23/99 -0400, you wrote:
>Jessica, I'd guess, based on the errors that you are getting, that the
>shell command isn't setting the "working directory" for the application
>it's launching, so that when you call c:\analog\analog.exe, the
>application is running in the directory of the VB application, so
>instead of looking for C:\ANALOG\LANG\uk.lng it's actually looking for
>C:\VBDirectory\LANG\uk.lng.
>
>VBs shell command doesn't seem to include a "working directory"
>parameter, so I'm not sure what the best way to set it, but you might
>just try
>
>ChDir "C:\ANALOG"
>
>just before your shell command. (You might need ChDrive "C" as well).
>
>Aengus
>
>
Jessica,
You should be able to solve the problem if you can set your VB program to
run a batch file. Inside the batch file, you could run commands to:
1. Change the drive/directory to where you have Analog 3.3 stored
2. Run Analog 3.3
HTH.
Sincerely,
Jim Fisher
[EMAIL PROTECTED]
[EMAIL PROTECTED]
"A revolution begins with a change in the individual"
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------