>can u provide me the code.
We do not just provide code. If you are too lazy to even try then you might as well give up programming altogether.
iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
Dim sReader As New StreamReader("C:\work document file name.doc")
Dim text As String = sReader.ReadToEnd()
sReader.Close()
If text.Contains("word to search you can also use textbox") Then
MessageBox.Show("show the searched data here")
End If
Dont forget to import....
Imports System.IO
vishalrane
Junior Poster in Training
93 posts since Jun 2011
Reputation Points: 10
Solved Threads: 13