Library tutorials & articles
Drive Combo, Folder and File List Controls
By James Crowley, published on 14 Jul 2001
Introduction
There are three controls in VB that allow you to display the drives, folders and files on the users PC, so that you can create your own open dialog, or explorer, albeit in a Windows 3.1 style... If you want to display the files and folders in a windows 9x style, you can take a look at this example program. However, it is very complex!
Related articles
Related discussion
-
how do you hide all in VB6
by CapnJack (1 replies)
-
Problem with Input File
by novavb6 (3 replies)
-
How to produce a txt file with a table??
by novavb6 (1 replies)
-
VB6 compatability from XP to Vista
by bronx (1 replies)
-
Fully justify code
by fresh (0 replies)
When I try to set the drive list's drive back to the previous one, it shows me that drive in the dir/file boxes, but the drive selector remains at the drive the user selected. Any way to fix it? (Using WinXP)
I am a beginner, and I found your article VERY easy to use, and it saved me alot of time on my project! Thank you again, and I have a small possibly un-nessary, but usefull addition to one line of your code:
On your last page, if you were to change the line as follows, your message would tell you what drive it was that you clicked on that was inaccessable:
Case 68
MsgBox Drive1.Drive & " drive not accessable"
' Switch back to the previosu drive
Drive1.Drive = OldDrive
Exit Sub
This thread is for discussions of Drive Combo, Folder and File List Controls.