473,385 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

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
0 1998

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Noozer | last post by:
I've got a WebBrowser control (AxBrowse - VCMAXB.DLL) and I'm having a few difficulties with it. Just looking for a few pointers, not whole solutions here. I've tried looking at the MSDN help files...
1
by: Noozer | last post by:
When using the WebBrowser control, is it possible to cause popup windows to appear within the WebBrowser control itself instead of a new window? This is what I've written in the NewWindow2 event,...
0
by: J?rn | last post by:
Hi, I am searching for a sample code to resuse the webbrowser control inside a .NET application. My target is to take control over events initiated with the javascript call "window.external". ...
5
by: Ian Stiles | last post by:
I have tried everything under the sun to get rid of horrible flashing and flickering that occurs on a CSharp form when the form hosts a TreeView or WebBrowser control and then you resize the form....
4
by: Randy | last post by:
Hi, ok, I found a way to connect to a running instance of an (external) Internet Explorer and access - for example - the html source. That works fine! But now I have running application with...
11
by: Anil Gupte | last post by:
....and how do I insert one into my form? I used in VB 6.0 last, but cannot figure out where it is in .Net Thanx, -- Anil Gupte www.keeninc.net www.icinema.com
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
0
by: mike11d11 | last post by:
I have a tab control on my form that has a webbrowser docked in it. It automatically navigates to a website. Once the users clicks on a particular link and popup window should come up with a...
0
by: piercy | last post by:
Hi, i have webbrowser control which i use to design a IHTMLDocument2. This control basically acts like a word processor to the user but i need the output in html to send in an email (hence the...
0
by: scottietrek | last post by:
I have a webbrowser control that allows me to save username and password infromation for a proxy server and i have been successful in changing the system default proxy for my application. What i now...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.