ok, I've got how to check if string a is present in string b however I don't know how to do that with the files, can anybody tell me how to get the content of a text file in a variable so that I can do that . Here is what I have so far:
Dim i As Integer = str.IndexOf("This")
'If it returns -1 it means that no matches for the specified string was found.
If Not i = -1 Then
MessageBox.Show(" the string is in here!")
Else
MessageBox.Show(" the string is not in here!")
End If
Thanks
Al968