Delphi: Initial foldername when browsing for a folder

I have found the answer to my question on how to browse for a folder in Delphi/Windows API (see: http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_20267846.html) but I would like to know how to set the default folder BEFORE calling the browse dialog, so that when the dialog box appears, it will default to a given path. I don't want to restrict the users' path, but just be ready and waiting at a place he expects to be.
ClassPublishingAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
MerijnBConnect With a Mentor Sr. Software EngineerCommented:
did you ever thought about using SelectDirectory() instead of BrowseForFolder() ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.