|
-
Feb 1st, 2002, 08:52 AM
#1
Thread Starter
Junior Member
Default Directory
Is there a way to determine the directory that a program is being run out of? I want the common dialog box do default to the directory that the program resides in. Is there an API for this (in which case I have posted this to the wrong forum, sorry. ;-) ), or is there a vb command?
Mark
-
Feb 1st, 2002, 08:56 AM
#2
The common dialog would know only if you knew. So, before envoking it, you have to find it, retrieve the folder name, and set that folder name as its InitDir.
-
Feb 1st, 2002, 08:57 AM
#3
try "app.path" to get the program directory
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
|