DirListBox in Visual Basic 6.0 is used to display the directory listing. Therefore, its use in the control DirListBox used simultaneously with the control DriveListBox, even if you want a complete list of files in a directory, can be combined in use with the control FileListBox.
           How to add control DirListBox on a form is to double click the image control DirListBox, it would appear DirListBox control on the form. By default the control will have DirListBox1 name.
Tutorial Visual Basic 6.0 : Control DirListBox

           in this tutorial you must remember then important event on the control DirListBox this is the event change, ie when the user selects a directory. This event can be combined its use with control FileListBox.
 For example when the user selects a directory, then.

<< Previous TopicTop TopicNext Topic >>