On a Windows Vista-based computer, the BeforeNavigate2 event is not triggered as expected when you move to a non-standard link
Consider the following scenario. You develop an application that hosts the WebBrowser control. Then, you move to a link in the WebBrowser control. In this scenario, you expect the BeforeNavigate2 event to be triggered before the target page is loaded. However, when you run this application on a Windows Vista-based computer, the BeforeNavigate2 event is not triggered when you move to a non-standard link.
Note: A non-standard link refers to a link that has special characters and whose URL does not start with http, with https, with ftp, or with other known protocols.
For example, the HREF tag of the link in question is one of the following:
<a href="<ABCD>"><a href= "/?scid=abcd%7cab12ab3l">
Therefore, the BeforeNavigate2 event cannot be used in the application.
Note: This issue does not occur in Windows XP or in Windows Server 2003.
For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB943112.

Start
About
FAQ
Blogroll
Shop
Tips and Tricks
Windows Updates
Hotfixes
Keyboard Shortcuts
Vista's Services
Vista's Commands
Product Reviews
Glossary
Videos
Web Links

Comments
There are no comments yet...Come on, share your thoughts!
Leave a Comment