You can see the System.Net namespace
A simple example:
Dim w As System.Net.WebClient
Dim sHTML As String
w = New System.Net.WebClient
sHTML = w.DownloadString("http://www.google.com")
Regards,
Arsalan Tamiz
On Dec 29, 10:59 pm, "Ron B." <[email protected]> wrote:
> I have a VB6 application that uses the web browser control to navigate
> to various websites, login, and report back to the user text from some
> of the resulting pages.
>
> I want to move the application to VB.NET and fix the problem that the
> performance of the web browsers is very poor.
>
> Question: is there a way in VB.NET to open a webpage, login, and read
> data from the HTML without using the web browser control and hopefully
> perform that process as fast as possible? (Also, does anyone have any
> sample code or apps that do this on a basic level?)
>
> I assume with respect to the above, there must be some way to open the
> right ports and read the HTML stream directly without using the web
> browser control. If that is true, then it leads me to my next
> question...
>
> Question: is it possible to take the HTML stream directly from the
> internet and load it into an MSHTML.HTMLDocument obect (or something
> similar) for easier processing and parsing of the HTML?
>
> Thanks so much for your help on this.
> - Ron