Library tutorials & articles

Drive Combo, Folder and File List Controls

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!

Comments

  1. 28 Jul 2003 at 02:55

    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)

  2. 30 May 2003 at 22:19

    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:

    Code:

    Case 68
      MsgBox Drive1.Drive & " drive not accessable"
      ' Switch back to the previosu drive
      Drive1.Drive = OldDrive
      Exit Sub

  3. 01 Jan 1999 at 00:00

    This thread is for discussions of Drive Combo, Folder and File List Controls.

Leave a comment

Sign in or Join us (it's free).