Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning just the path from the common dialog box
Message
From
13/01/1999 10:23:12
 
 
To
13/01/1999 09:06:39
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00175403
Message ID:
00175447
Views:
24
>Hi everyone,
>
>We are using VB 6.0 and need to ask the user to pick a directory using the common dialog control. Is there anyway to allow picking of a directory instead of forcing them to pick a file? The directory could be empty, so there are no files to pick and we need to return the directory the user picks. Can this be done with the common dialog box or are we barking up the wrong tree?


You can build in a few minutes a form with a DriveListBox control and DirListBox control that will return only a directory.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform