Solved

Delphi: Initial foldername when browsing for a folder

Posted on 2007-11-26
1
140 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
Comment Utility
did you ever thought about using SelectDirectory() instead of BrowseForFolder() ?
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now