|
-
Mar 21st, 2011, 01:05 PM
#1
Thread Starter
Lively Member
Remember last path/folder accessed
How can I get a program to remember the last directory accessed and make it the default/initial directory when using API dialog? Easy way please
-
Mar 21st, 2011, 02:25 PM
#2
Re: Remember last path/folder accessed
To preserve the 'last directory' within a program session store the path in a string variable.
To preserve it from one session to the next store the contents of the string variable to a file when the program ends and load it back from the file when the program starts.
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
|