I have a code and this is how I need it to work.

1. Download page from the internet into a string.
2. Search through lines
3. If a line includes a certain string, add it to a textbox
4. Until the end of the lines.

But mine doesnt work.

VB Code:
  1. Private Sub btnGrab_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGrab.Click
  2.         Dim externalPage As String = Nothing
  3.         Dim Line As String
  4.         externalPage = WebClient1.DownloadString("http://iat.awardspace.com/text.txt")
  5.         Dim streamr As New IO.StreamReader(externalPage)
  6.         While Not streamr.EndOfStream
  7.             Line = streamr.ReadLine
  8.             If Line.Contains("S") Then
  9.                 TextBox1.Text = TextBox1.Text & Line.ToString & vbNewLine
  10.             End If
  11.         End While
  12.     End Sub

Im fairly new to VB.NET and I know I've done something wrong. I think it's something to do with the StreamReader. Its supposed to read streams, but I dont have any. Can anybody help me get this working please?