Selecting a Directory

DerFarm
10-17-2002, 08:00 AM
I'm blanking on this one, people.

Anyone got any code laying around that will allow the enduser to select a directory?

Preferably one that might not exist?

Aquila
10-17-2002, 08:03 AM
Selecting a directory that might not exist?

You can use the FSO to get folder and file collections but im not sure how you would do the non-existant thing... what do you mean by that?

reboot
10-17-2002, 08:04 AM
shBrowseForFolder() API. The are several examples floating around on the forum.

Garmour
10-17-2002, 08:06 AM
Selecting a directory that doesn't exisit ????

Do you mean to allow users to create a directory within a selected directory ?
I'm guessing that the Common Dialogue control will let you do that but I don't have any code, sorry.

DerFarm
10-17-2002, 08:24 AM
Most Excellent, reboot. I had totally forgotten the friendly folks at API central.

Garmour, if I can get the silly thing to select a non-existant directory, I'll post the code in another thread. This has been driving me crazy for a while.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum