VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Recurse thru sub directories

Brad V  (1 Submission)   Files/File Controls/Input/Output   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

I haven't seen this on VBC using the filesystem object or a collection. very neat and fast since you don't need to go through it twice to redim an array. the only slow down with this code is the print statement.

API Declarations
Dim colDirs As New Collection
Dim objFso As New FileSystemObject
'make sure under Project|References
'you have Microsoft scripting Runtime checked

Rate Recurse thru sub directories (3(3 Vote))
Recurse thru sub directories.bas

Recurse thru sub directories Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters