VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Get All Folders (and files) in a directory

TheWoot Software  (1 Submission)   Files/File Controls/Input/Output   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

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 Declarations
No API calls

Rate Get All Folders (and files) in a directory (3(3 Vote))

Download Get All Folders (and files) in a directory

Get All Folders (and files) in a directory Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters