
Listing Dir's inside Dir's
Quote:
> Im haveing a hard time trying to get VB to list directorys that are in
> outher directorys(sub Dirs) By useing the Dir comand with the
> vbDirectory flag i cant get it to list sub directorys
> any help would be great
> thanks alot
I've written a class called clsDirectory that has this feature. You
can write:
Dim Directory As New clsDirectory
Dim SubDir As clsDirectory
Directory.Name = "the path"
For Each SubDir in Directory.SubDirs
...
Next
You get the point.
Get the file from
ftp://ftp.sol.no/user/balchen/vbi/source/Common/Files/Directory.cls if
you like.
--
http://home.sol.no/~balchen/vbi/