[help]read text from an online .txt[Solved]
ok so i want to show text from a site in a textbox but not like getelement by id or anything, but like read the whole page of an online .txt so like the urls that are like
http://www.example.com/example.txt and read everything from that "textfile".(don't flame me im trying new stuff(AND YES I HAVE TRIED MY SELF AND I HAVE PRESSED THE SEARCH BUTTON)

[php]imports system.net
imports system.text
imports system.io[/php]
[php]Private Function loadPage(ByVal page As String) As String
Dim req As WebRequest = WebRequest.Create(page)
Dim resp As WebResponse = req.GetResponse()
Dim s As Stream = resp.GetResponseStream()
Dim sr As StreamReader = New StreamReader(s, Encoding.ASCII)
Dim doc As String = sr.ReadToEnd()
Return doc
End Function[/php]