clicked links event - ie embedded in .net application

  • Thread starter Thread starter larry mckay
  • Start date Start date
L

larry mckay

hi,
thanks for your help in advance
i've embedded internet explorer in a vb.net application
and can navigate to a page using webrowser1.navigate myurl

the webrowser control is actually being controlled by the vb.net windows
form application.

i would like to capture the NAME of the link as well as its URL at the
application level BEFORE the webbrowser actually navigates to the page
at VB.NET application level.
i do not want to depend on webserver objects and events to determine
which link the user has just clicked on.

does anyone know how to do this?

i know that i can get a hold of the document/webpage by using
webrowser1.document - but i need to know the name of the link as well
as the link text BEFORE the user actually navigates to the page.
 
* larry mckay said:
i do not want to depend on webserver objects and events to determine
which link the user has just clicked on.

Why not "depend on events"? That's IMO the only solution.
 
Back
Top