Click to See Complete Forum and Search --> : Selecting a directory from Common dialog control
July 20th, 2000, 03:46 PM
I want to use the Common Dialog control (or something similar) to allow the user to select a directory. I've seen it done before in applictions, and was wondering if VB provides any controls or such for that.
Thanks for your help.
John G Duffy
July 20th, 2000, 07:58 PM
There are no controls that I know of but Randy Birch from VBNET has a sample using APIs that can do this using the API interface into Windows
go to VBNET.com and scrounge around for a sample that looks something like "FolderExists"
John G
John G Duffy
July 20th, 2000, 08:02 PM
I looked before I lept. Apparently VBNET.com is undergoing renovations and is not available but you might try
Http://www/Planet-Source-Code.com/VB
there is a wealth of info there and I am sure you can find what you want
John G
Chris Eastwood
July 21st, 2000, 03:18 AM
Take a look at :
http://codeguru.earthweb.com/vb/articles/2054.shtml
- this is a single BAS module you can drop in your code to show the Browse/Folders window and return the selected folder name.
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.