HI,
- Dim sReader As New StreamReader("C:\myfile.doc")
- Dim text As String = sReader.ReadToEnd()
- sReader.Close
-
- If text.Contains("searchvalue") Then
-
- End If
Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.