Click to See Complete Forum and Search --> : How to find string text in list files?
How to find string text in list files?
Many many thank's.
Claudio Barca
What do you mean?
Find strings in a Listbox?
Find strings in Text files?
Assuming you are trying to find a String in a TextBox
nPos = InStr(1, Text1, "MyText")
If nPos <> 0 Then
MsgBox "String found at pos " & nPos
ElseIf nPos = 0 Then
MsgBox "String not found"
End If
Thank's for your collaboration, but I do find a string text into directory list files, similarly Start Menu, Find, Files or Folders, Search in contents...
In APIs FindFirstFile or FindNextFiles, it's a parameter for finder a text in content of files ????
I'm familiar with the FindFirstFile and FindNextFile APIs,
can you use these for an advanced search for files that contain specified text? If not, what does?
This search on Vb-World for Finding Files (http://www.vb-world.net/cgi-bin/searchredir.cgi?search=Find+Files&whereto=VBWORLD) may help to get you started.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.