By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,572 Members | 1,516 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,572 IT Pros & Developers. It's quick & easy.

axWebBrowser control question

P: n/a
MPR
I'm displaying a web page with the navigate2 method of the axWebBrowser
control.

On the web page that is already in the axWebBrowser control, there are
severla links, like in any other web page.
I wanto to take one ot those links (programatically) follow that link, like
emulating a click over it.

Is it possible?
There's somethink like a link collection or somethink like that?

Thanks

MPR
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
MPR,

I answered on this question on the original thread.
Please keep your questions in that, because so it is almost imposible to
answer questions, the link collection is in MSHTML a part of the
anchorelement <A....>

The frames (documents) of a page where I am talking about in the original
thread you can get by instance as

\\\\
Private Sub AxWebBrowser1_DocumentComplete(ByVal sender As System.Object, _
ByVal e As AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent ) Handles
AxWebBrowser1.DocumentComplete
Dim eDocuments As New ArrayList
Try
Dim wb As SHDocVw.WebBrowser = _
DirectCast(e.pDisp, SHDocVw.WebBrowser)
eDocuments.Add(wb.Document)
Catch ex As Exception
Dim a As String = ex.Message
End Try
///

The rest of the text in the original thread.

Cor

I'm displaying a web page with the navigate2 method of the axWebBrowser
control.

On the web page that is already in the axWebBrowser control, there are
severla links, like in any other web page.
I wanto to take one ot those links (programatically) follow that link, like emulating a click over it.

Is it possible?
There's somethink like a link collection or somethink like that?

Thanks

MPR

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.