Retrieving HTML with VB.Net

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. 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.
 
C

Charlie Tame

You might be better to ask in one of the visual studio groups for VB info,
these IE groups tend to concentrate on helping users with problems and not
so much on the languages.

It looks like you are using the web interface and if you have a proper
newsreader you'd find the groups easier to navigate using that.

news://news.microsoft.com will help you set up OE and you can search for the
keyword dotnet to find microsoft.public.dotnet.languages.VB

In fact this whole link may work for you if I got it right :)

news://news.microsoft.com.microsoft.public.dotnet.languages.VB

Good luck

Charlie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top