G
Guest
Hello Everyone and thanks for your help in advance. I am working on an
application that will be used to screen scrape a site utilizing the IE
webbrowser and VB.Net. Due to some idiosyncracies in the page to be
scraped, the IE approach appears to be the best rather thant the native .Net
classes. Here is the code I have working:
Dim URL As String = "www.yahoo.com"
Dim IE As New InternetExplorerClass
Dim wb As IWebBrowserApp = CType(IE, IWebBrowserApp)
wb.Visible = True
wb.Navigate(URL, "", "", "", "")
This code successfully opens and IE window. However, I need to be able to
access the HTML in the document and cannot seem to figure out how to do this.
Any help on this topic would be greatly appreciated. Thanks.
application that will be used to screen scrape a site utilizing the IE
webbrowser and VB.Net. Due to some idiosyncracies in the page to be
scraped, the IE approach appears to be the best rather thant the native .Net
classes. Here is the code I have working:
Dim URL As String = "www.yahoo.com"
Dim IE As New InternetExplorerClass
Dim wb As IWebBrowserApp = CType(IE, IWebBrowserApp)
wb.Visible = True
wb.Navigate(URL, "", "", "", "")
This code successfully opens and IE window. However, I need to be able to
access the HTML in the document and cannot seem to figure out how to do this.
Any help on this topic would be greatly appreciated. Thanks.