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

WebBrowser control brings up external IE Window and allows pop-ups

P: n/a
I am having 3 issues with the WebBrowser control which may all be related.
The HTML for the page is the standard Weather Magnet from weather.com. The
actual HTML is at the bottom of this page.

Issue 1: I am opening a page in the control in the development environment
and the document comes up correctly. But, when I click a link in the
resulting document, an external IE instance comes up with the requested page.
I have see reference to the Advanced - Internet Option "Reuse window for
launching shortcuts" as a possible solution but I already have this checked.

Issue 2: Some of the links on this (and other) pages cause pop-ups which are
definitely not preferred. Can I capture (and override) what ever is causing
this ?

Issue 3: In a normal run-time environment (using published code) opening the
WebBrowser control with the Weather Magnet does show the document in the
control BUT it also opens an external IE window with the same document. If I
leave that IE instance open, subsequent calls to open the Weather Magnet do
not not create additional external windows.

The Weather Magnet HTML for NYC:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Weather in New York City</title>
</head>
<body>
<script
src='http://voap.weather.com/weather/oap/USNY0996?template=GENXH&par=1029999217&unit=0&key= 8efae2892372d51f23358670dc66a63e'>
</script>
</body>
</html>

Jan 29 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.