I have a Webbrowser control on a standard windows form in VB.NET 2005. I just want to detect when someone clicks a link inside the Webbrowser control it just tells me what they clicked on, or where its trying to go, then cancel the process.
I tried putting..
MsgBox(e.Url)
e.Cancel = True
Inside of the WebBrowser1_Navigating EVENT, but that does nothing. Can anyone help?