Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim myRequest As WebRequest myRequest = WebRequest.Create("http://www.yahoo.com") Dim theResponse As WebResponse = myRequest.GetResponse() Dim responseStream As Stream = theResponse.GetResponseStream() Dim reader As New StreamReader(responseStream) Dim sb As New StringBuilder Do sb.Append(reader.ReadLine) sb.Append(vbCrLf) Loop While Not reader.ReadLine Is Nothing TextBox1.Text = sb.ToString() End Sub End Class
However I want it where they can pick any site through a text box by typing the url and hitting submit any ideas?