Results 1 to 2 of 2

Thread: Remember last path/folder accessed

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2009
    Posts
    93

    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

  2. #2
    Frenzied Member
    Join Date
    Mar 2008
    Posts
    1,210

    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
  •  



Click Here to Expand Forum to Full Width