I think you may need a COM-wrapped .NET DLL, that you can add a reference to in your VB5 project.
I'm not sure how this is acheived, but this may point you in the right direction
Brilliant - that has done the trick :)
thanks very much for the help
here's my solution.......
Private Sub populate(ByVal includeSubDirs As Boolean)
'create a directory
Dim dir As DirectoryInfo = New DirectoryInfo(pathway)
'pass the directory
addFilesInThisDir(dir)
'call recuresive...
I'm trying to write a FileIterator class, and what I need to do is list all the files in any given pathway include all subdirectories, digging as far as the hierarchy goes. See my code below, and the problem is that it only searches down one level of the folder structure.
Any help appreiated...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.