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

WebBrowser Showing New URL Right after it was clicked

P: 1
first of all .. i'm pretty new @ vb ... but i really would like some help.

i made a simple webbrowser in VB .. Many Tutorial can be found on the net, but i cant create the following:

RIGHT after a user click a new link/url i want the following message be displayed:
msgbox("Going to the following URL:") Then i need the Link that was just clicked.. this message must be displayed before navigating to the link that was hit..

Currently i'm using the Private Sub WebBrowser1_Navigating2 event .. MsgBox(WebBrowser1.Url.ToString()) gives me the old link, not the one that was just hit ..

Can anyone help me please .. I'm using Visual Studio 2005
Jan 11 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.