Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning just the path from the common dialog box
Message
De
13/01/1999 10:23:12
 
 
À
13/01/1999 09:06:39
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00175403
Message ID:
00175447
Vues:
25
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform