showing webpage as text

Hi All.

I am trying to get a textField to show the html text for a webpage. I have seen it in the forum, but for the life of me I can’t find it.

Does anyone know how this is done? And if you have an example, that would be appreciated.


Download the HTML to a string and then set the Text property:


Dim socket As New HTTPSocket Dim html As String = socket.Get("", 0) myTextArea.Text = html

The small problem is if you get the webpage with an HTTPSocket, you will be creating a new session. That can be a problem if you want to grab the present state of a webpage with data.