How do these items look like?
Multiple columns?
The user defines that information?
I don't get you. You gotta be more EXACT!
Multiple columns?
The user defines that information?
I don't get you. You gotta be more EXACT!
this is test.txt
Dim filein As String
Dim StringToLookFor As String = "is" 'string to look for
Dim filename As String = "C:\test.txt" 'the file
Dim objReader As New System.IO.StreamReader(filename)
filein = objReader.ReadToEnd 'reads the document to the end
If filein.Contains(StringToLookFor) = True Then
MsgBox("String Found") 'if it finds the string it displays messagebox, can be changed with textbox1.text = , etc
Else
MsgBox("String NOT Found")'if not found
objReader.Close()
End If
