Click to See Complete Forum and Search --> : Urgent Assistance Needed


Craig Malton
April 4th, 2004, 07:10 AM
have a VB.NET application with an embedded web browser looking at an ASP.NET site which the user enters a username and password into.

When correctly logging in, this ASP.NET application returns a link for the user
to click.

When the user clicks the link, I need the local VB.NET app to pick
up on this and invoke a function.

Please help me fathom this out.

Craig Gemmill
April 4th, 2004, 10:13 AM
The BeforeNavigate2 event will fire when a link is clicked, before the navigation takes place.


Private Sub AxWebBrowser1_BeforeNavigate2(ByVal sender As Object, ByVal e As AxSHDocVw.DWebBrowserEvents2_BeforeNavigate2Event) Handles AxWebBrowser1.BeforeNavigate2

Debug.WriteLine(e.uRL.ToString)

End Sub