is there something similar to findfirst findnext.
this is what i was looking for. as my background is basically C++ & VC++
But asp .net is very simple only a few lines of code will do the trick.
here is the sample code
' --- Directory Example ----
Dim files() as String = Directory.GetFiles(directoryPath[, optionalWildCard])
' --- DirectoryInfo Example ----
Dim myDir as DirectoryInfo = New DirectoryInfo(directoryPath)
Dim fileInfos() as FileInfo = myDir.GetFiles([optionalWildCard])