Solved

Delphi: Initial foldername when browsing for a folder

Posted on 2007-11-26
1
143 Views
Last Modified: 2010-04-05
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.
0
Comment
Question by:ClassPublishing
1 Comment
 
LVL 19

Accepted Solution

by:
MerijnB earned 100 total points
ID: 20349350
did you ever thought about using SelectDirectory() instead of BrowseForFolder() ?
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question