Guys,
I need to access all files in a folder becuase i need to search for a string in all files that are in Folder. How could I do that. Any input is appreciated.
Thanks in advance,
DilSe..
Printable View
Guys,
I need to access all files in a folder becuase i need to search for a string in all files that are in Folder. How could I do that. Any input is appreciated.
Thanks in advance,
DilSe..
Common Guys,
No body responded to my question though its simple, since an hour..but I found an answer for me...by just writing a for loop. if anyone dont know how to do this, see the following:
For each file in folder.files
blah blah.......
Loop
Thanks,
DilSe..
VB Code:
Private Sub Form_Load() File1.Path = "c:\windows" For i = 0 To File1.ListCount - 1 If InStr(1, File1.List(i), "mystring") Then End If Next i End Sub
Needs a FileBox.