hope my anwers help. for more information google : VB.net http request On Mon, Dec 29, 2008 at 3: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?) yes, you need to use htttp request (google it a liitle), but you cant see the page. also you will need to use an sniffer to view how the information is send to the page.(to create requests) I use a lot jmeter with a proxy to record the requests, beacouse it only records request that passes throug the site you browse. > > > 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... http request will do this. > > > 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? i dont know this, but i think there must be a way. > > > Thanks so much for your help on this. > - Ron >
