ITsVISTA
Information that makes life easier when it comes to installing, managing, and using Windows Vista.
Start About FAQ Blogroll Shop

ITsVISTA KB-Link: KB943112

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.

There is a download that resolves this issue. See Hotfixes for details.
64-Bit Download: Contact Microsoft
This issue is resolved in SP1.

For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB943112.

Get notified of new posts for FREE via RSS or E-mail

Subscribe to ITsVISTA!

Comments

  • There are no comments yet...Come on, share your thoughts!

Leave a Comment