|
-
Dec 12th, 2002, 02:05 PM
#1
Thread Starter
Addicted Member
Shell Command and App.Path
Hello,
I'm trying to invoke from my program another VB program that's in an EXE file using the Shell command. The problem is that this program needs to refer to an Access database using App.Path, and if I run it using Shell, it tries to refer to a different directory than the one it would refer if I run it by just clicking the file in the windows explorer. The result is that it can't find the database when I use Shell because it's in a different directory.
How can I cause Shell not to change the directory or get the same result in another way?
Thanks very much.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|