Visual Basic Reference

DriveListBox Control

See Also Example Properties Methods Events

A DriveListBox control enables a user to select a valid disk drive at run time. Use this control to display a list of all the valid drives in a user's system. You can create dialog boxes that enable the user to open a file from a list of files on a disk in any available drive.




Set the List, ListCount, and ListIndex properties to enable a user to access items in the list. If you also display the DirListBox and FileListBox controls, you can write code to synchronize them with the DriveListBox control and with each other.