DriveListBox Control for Visual Basic 6.0 Users
The Visual Basic 6.0 DriveListBox control has been rendered obsolete by the OpenFileDialog and SaveFileDialog components in Visual Basic 2008.
Conceptual Differences
The Visual Basic 6.0 DriveListBox control was typically used to display a list of drives in a File Open or File Save dialog box.
In Visual Basic 2008, the Windows Forms OpenFileDialog and SaveFileDialog components enable you to create standard Windows dialog boxes to work with files, in most cases eliminating the need for the DriveListBox control.
Note
Using the OpenFileDialog and SaveFileDialog components provides a consistent and familiar user experience. If you need to create your own file dialog boxes, Visual Basic 2008 does provide a DriveListBox control as part of the Microsoft Visual Basic Compatibility Runtime library. For more information, see How to: Add Visual Basic 6.0 File System Controls to Your Application.
Upgrade Notes
When a Visual Basic 6.0 application is upgraded to Visual Basic 2008, any existing DriveListBox controls are upgraded to the VB6.DriveListBox control that is part of the Microsoft.VisualBasic.Compatibility library.
See Also
Tasks
How to: Add Visual Basic 6.0 File System Controls to Your Application