O'Reilly logo

Developing Microsoft® .NET Controls with Microsoft Visual Basic® .NET by John Connell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Need a Replacement for the Classic DriveListBox?

At times, you still need the good old DriveListBox control that was available in previous versions of Visual Basic. You could draw that on a form and have all valid disks available on a user’s system. In case you forgot what it looks like, Figure 2-15 shows the classic DriveListBox.

Figure 2-15. DriveListBox control from Visual Basic 6

You would often connect this control via code to the DirListBox control, and that to the FileListBox control. You would write code to synchronize the controls so that when the user selected a new drive, the directories on that drive were displayed in the DirListBox. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required