Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: window.open Causes Delay in NewWindow Event


View products that this article applies to.

Symptoms

When you host the WebBrowser control, all navigation can occur in the hosting application. The following Microsoft Knowledge Base article describes this functionality:
185538 HOWTO: Cause Navigation to Occur in Same WebBrowserWindow
However, when the NewWindow event is fired in response to the scripted window.open method that causes navigation to occur in an Internet Explorer window, a 60-second delay occurs before navigation begins. In addition, in Internet Explorer 4.0x, an "Unspecified Error" occurs.

↑ Back to the top


Resolution

A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Internet Explorer service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of the Internet Explorer 5.5 Service Pack 1 (SP1) fix should have the following file attributes or later:
   Date         Time   Version         Size       File name     
 ---------------------------------------------------------
   Aug 02, 2001 12:33  5.50.4720.0200  1,147,664  Shdocvw.dll
				
The English version of the Internet Explorer 5.5 SP2 fix should have the following file attributes or later:
   Date         Time   Version         Size       File name     
 ---------------------------------------------------------
   Sep 10, 2001 13:40  5.50.4909.1000  1,146,640  Shdocvw.dll
				

WORKAROUND

To work around this problem, create a new instance of the hosting application for the new window. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
184876 HOWTO: Use the WebBrowser Control NewWindow2 Event

↑ Back to the top


Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


References

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
185538 HOWTO: Cause Navigation to Occur in Same WebBrowser Window
184876 HOWTO: Use the WebBrowser Control NewWindow2 Event
294870 BUG: Using NewWindow or NewWindow2 to Always Navigate in the Same Window Fails in Some Instances
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:

↑ Back to the top


Properties

Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

↑ Back to the top


Keywords: kbhotfixserver, kbqfe, kbbug, kbfix, kbie501fix, kbwebbrowser, kbie600sp1fix, KB194242

↑ Back to the top

Article Info
Article ID : 194242
Revision : 3
Created on : 4/21/2006
Published on : 4/21/2006
Exists online : False
Views : 526