|
-
Nov 25th, 2000, 10:56 AM
#1
How to find string text in list files?
Many many thank's.
Claudio Barca
-
Nov 25th, 2000, 04:01 PM
#2
What do you mean?
Find strings in a Listbox?
Find strings in Text files?
-
Nov 25th, 2000, 08:38 PM
#3
Assuming you are trying to find a String in a TextBox
Code:
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
-
Nov 26th, 2000, 09:42 AM
#4
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?
-
Nov 26th, 2000, 02:27 PM
#5
This search on Vb-World for Finding Files may help to get you started.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|