Visual Basic - Objects - Controls - Dir ListBox gox.gif (837 bytes)Drive ListBox
gox.gif (837 bytes)File ListBox

downx.gif (830 bytes)Propertiesdownx.gif (830 bytes)Methodsdownx.gif (830 bytes)Events

Prefix   dir
Default name Dir1
Default property Path
    
VB 3    
VB 4
VB 5 vb5-directory-listbox.gif (927 bytes) vb5-directory.gif (2600 bytes)

Dir ListBox - Properties : Path

Path (Default)
s = Dir1.Path  's = "c:\Dokumenter"

Dir ListBox - Methods

 

Dir ListBox - Events : Change

Change
Private Sub Dir1_Change()
  File1.Path = Dir1.Path
End Sub