|
-
April 28th, 2004, 02:05 PM
#1
Directory Explorer
Hello Gurus,
I am working on an app that needs to have a directory explorer dialog. Just the the ones you would use to choose a directory while installing a project.
I have the option of writing one, but I just figured I'd check here to see if there are any pre-built ones before I build it myself.
If anyone knows of a component or prebuilt dialog that does this please let me know.
Thanks in advance,
Solturus
-
April 28th, 2004, 02:18 PM
#2
I saw an article on codeguru that describes using commondialog as a directory selector.... maybe a little crude though.
good luck
-
April 28th, 2004, 05:36 PM
#3
Re: Directory Explorer
Originally posted by Solturus
Hello Gurus,
I am working on an app that needs to have a directory explorer dialog. Just the the ones you would use to choose a directory while installing a project.
I have the option of writing one, but I just figured I'd check here to see if there are any pre-built ones before I build it myself.
If anyone knows of a component or prebuilt dialog that does this please let me know.
Thanks in advance,
Solturus
Use the MSCommondialog Control.
You must first add the Microsoft Visual Basic Common controls (or somehow like that) to you project and then you can use the commondialog to show the windows printer dialog, colour selection dialog, file opening dialog, file saving dialog etc..
a directory explorer as you know it from some setup applications where you have only the directory selection without any file selection is not present..
btw.. it's not very hard to write a directory explorer yourself.
Just use the Drive and Directory Control and write into the drive_change event this code:
Dir1.Path = Drive1.Path
the Dir1.Path variable changes when the user selects a directory and you can access it from the submit button or whatever.
greetings UNI
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|