To accomplish this you're going to want to use the
ReadLine Method of the StreamReader Class, along with
Peek Method. Peek acts the same was as EOF worked in legacy VB (VB6 and earlier). This will allow you to search each line for the value you're looking for, something like:
vb
''' <summary>
''' method to read through a text file a line at
''' a time searcing for a particular value that is
''' passed into the method
''' </summary>
''' <param name="value">value we are looking for</param>
''' <returns>the value we're looking for</returns>
Public Function FindValue(ByVal value As String) As String
'variable to hold the return value
Dim returnValue As String = String.Empty
'open your file
Dim reader As New StreamReader("C:\MyFile")
'now use Peek to loop through each line
While reader.Peek() >= 0
'create a variable to hold the current line in
Dim line As String = reader.ReadLine()
'now use an if statement to check the value of the current line
If line = value Then
'do your work here
returnValue = line
'since we have our value we need to exit the loop
Exit While
End If
End While
'return the value
Return returnValue
End Function
That should at least get you started

Also, moved to VB.Net ass this is a VB.Net issue