?
Solved

Delphi: Initial foldername when browsing for a folder

Posted on 2007-11-26
1
Medium Priority
?
147 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 19

Accepted Solution

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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

752 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