
Get all the folders (and files) in a given directory. Very simple, and easy to use code. Just copy and paste into your own program.
Inputs
Location As String, GetFiles As Boolean, Listbox As Listbox, Dir As DirListBox, FileList As FileListBox
Assumes
You will need a path to 'peek' inside, a listbox, directory listbox, and file listbox.
Returns
Returns nothing
Side Effects
The only side effect is that the listbox flicks a bit. Talk to Microsoft about that one ;]
API DeclarationsNo API calls