Technical Resources at AEGIS

Internet and Web Development Tips

Internet Explorer JavaScript Bug - window.open()

Tip By: Mike Barlotta


Have you gotten the error "No such interface supported" when running Microsoft's Internet Explorer 4. This error is generated when trying to open another browser instance using JavaScript.

var myWindow = window.open(URL,"newWindow","toolbar=no,width=470,height=400,resizable=1");

What's worse this script works on some machines and not others so it is a tough bug to track down. I know it drove us crazy on our latest Web project. Newsgroups report that installing the final release of IE 4.0 over a previously released beta version without first uninstalling the beta causes the problem. But that may not be the only cause. The root of the problem is a messed up registry.

The solution:

  1. Type this in the Run dialog or command prompt: regsvr32 actxprxy.dll
  2. Type this in the Run dialog or command prompt: regsvr32 shdocvw.dll
  3. Shut down and restart Windows

As long as both DLLs registered successfully the problem should be solved.

Click Here to Test