J
John Seeliger
I am pretty new to VB, so please forgive the simplistic question. This is
using VB .NET Standard 2003.
My form has three objects on it: a TextBox named URL, a Button named Extract
and a WebBrowser named AxWebBrowser1. The goal is to have the user enter a
URL in the TextBox and then hit the Extract button and then to get the links
from the web page they entered.
So far I have:
AxWebBrowser1.Navigate(URL.Text)
which does display the page in the browser frame (not that I need to see it.
I am doing this to parse the data, so it is not necessary to display the
pages.)
and then:
Dim doc As mshtml.HTMLDocument = _
AxWebBrowser1.Document()
which I had gotten off some site which I assume creates a document object
named doc. Now, how do I extract the links and convert them to strings so
that I can parse them, looking for the keywords I am trying to find?
Thanks
-John
using VB .NET Standard 2003.
My form has three objects on it: a TextBox named URL, a Button named Extract
and a WebBrowser named AxWebBrowser1. The goal is to have the user enter a
URL in the TextBox and then hit the Extract button and then to get the links
from the web page they entered.
So far I have:
AxWebBrowser1.Navigate(URL.Text)
which does display the page in the browser frame (not that I need to see it.
I am doing this to parse the data, so it is not necessary to display the
pages.)
and then:
Dim doc As mshtml.HTMLDocument = _
AxWebBrowser1.Document()
which I had gotten off some site which I assume creates a document object
named doc. Now, how do I extract the links and convert them to strings so
that I can parse them, looking for the keywords I am trying to find?
Thanks
-John