4 3387
nicholas,
It will use whatever pop up mechanism that IE uses on the client. If
you are running XP SP2, then you should get the IE popup blocker. If you
are not, but have a browser helper object that handles popups, the web
browser control should use that as well.
The webbrowser control is nothing more than a thin wrapper to internet
explorer (that's generalizing, but it's basically true). In that sense,
whatever it uses, the web browser control will use.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"nicholas" <ni*********@sina.com.cn> wrote in message
news:eE**************@TK2MSFTNGP14.phx.gbl... If yes, how?
Thanks
Thanks for you reply.
I do have installed XP SP2, but the pop-up windows still come up. And the
same thing happens in my Windows App using WebBrowser.
I'm just wondering how can I block the pop-up windows.
Thanks again!!!
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:OL**************@TK2MSFTNGP12.phx.gbl... nicholas,
It will use whatever pop up mechanism that IE uses on the client. If you are running XP SP2, then you should get the IE popup blocker. If you are not, but have a browser helper object that handles popups, the web browser control should use that as well.
The webbrowser control is nothing more than a thin wrapper to internet explorer (that's generalizing, but it's basically true). In that sense, whatever it uses, the web browser control will use.
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard.caspershouse.com
"nicholas" <ni*********@sina.com.cn> wrote in message news:eE**************@TK2MSFTNGP14.phx.gbl... If yes, how?
Thanks
nicholas,
I just realized, you have to opt in for the pop up management in IE
(note, this is JUST for the pop up blocker in IE in XP SP2).
To do that, you need to call the CoInternetSetFeatureEnabled function in
URLMON.dll. You can find the declaration at pinvoke.net, at (watch for line
wrap): http://www.pinvoke.net/default.aspx/...reEnabled.html
You need the definition for INTERNETFEATURELIST as well. You can find
that at: http://www.pinvoke.net/default.aspx/...ATURELIST.html
Call it, setting the flag for the process, opting into the pop up
blocker.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
Once you pass the SID to the IServiceProvider::QueryService method, you
pass the SID
"nicholas" <ni*********@sina.com.cn> wrote in message
news:%2***************@tk2msftngp13.phx.gbl... Thanks for you reply. I do have installed XP SP2, but the pop-up windows still come up. And the same thing happens in my Windows App using WebBrowser. I'm just wondering how can I block the pop-up windows.
Thanks again!!!
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:OL**************@TK2MSFTNGP12.phx.gbl... nicholas,
It will use whatever pop up mechanism that IE uses on the client. If you are running XP SP2, then you should get the IE popup blocker. If you are not, but have a browser helper object that handles popups, the web browser control should use that as well.
The webbrowser control is nothing more than a thin wrapper to internet explorer (that's generalizing, but it's basically true). In that sense, whatever it uses, the web browser control will use.
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard.caspershouse.com
"nicholas" <ni*********@sina.com.cn> wrote in message news:eE**************@TK2MSFTNGP14.phx.gbl... If yes, how?
Thanks
Thanks
I'll try as what you said.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:uz*************@TK2MSFTNGP09.phx.gbl... nicholas,
I just realized, you have to opt in for the pop up management in IE (note, this is JUST for the pop up blocker in IE in XP SP2).
To do that, you need to call the CoInternetSetFeatureEnabled function in URLMON.dll. You can find the declaration at pinvoke.net, at (watch for line wrap):
http://www.pinvoke.net/default.aspx/...reEnabled.html
You need the definition for INTERNETFEATURELIST as well. You can find that at:
http://www.pinvoke.net/default.aspx/...ATURELIST.html
Call it, setting the flag for the process, opting into the pop up blocker.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard.caspershouse.com
Once you pass the SID to the IServiceProvider::QueryService method, you pass the SID "nicholas" <ni*********@sina.com.cn> wrote in message news:%2***************@tk2msftngp13.phx.gbl... Thanks for you reply. I do have installed XP SP2, but the pop-up windows still come up. And the same thing happens in my Windows App using WebBrowser. I'm just wondering how can I block the pop-up windows.
Thanks again!!!
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:OL**************@TK2MSFTNGP12.phx.gbl... nicholas,
It will use whatever pop up mechanism that IE uses on the client. If you are running XP SP2, then you should get the IE popup blocker. If you are not, but have a browser helper object that handles popups, the web browser control should use that as well.
The webbrowser control is nothing more than a thin wrapper to internet explorer (that's generalizing, but it's basically true). In that sense, whatever it uses, the web browser control will use.
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard.caspershouse.com
"nicholas" <ni*********@sina.com.cn> wrote in message news:eE**************@TK2MSFTNGP14.phx.gbl... If yes, how?
Thanks
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: E Stafford |
last post by:
I am creating a form app that uses a webBrowser control and allows users
to interact with a web hosted application. Users can query the web
app and generate a CSV file that they should be able to...
|
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...
|
by: ASP .NET Newbie |
last post by:
How can I run a WebBrowser control using ASP.NET/VB.NET? I know I can use
the WebClient to get the page data, but I need to be able to use the
WebBrowser (AxWebBrowser)?
Thanks,
Chad
|
by: Chris Bingham |
last post by:
Hi everyone,
Does anyone know how to fix the paper orientation depending on the paper size used when printing with the WebBrowser control please?
What I've got is a HTML file, containing 1 big...
|
by: KC |
last post by:
Is the webBrowser control included in VB.net standard? I can't seem to find
it. Or do I have to create a certain type of solution?
Ken
| |
by: Alex Clark |
last post by:
Greetings,
(.NET 2.0, WinXP Pro/Server 2003, IE6 with latest service packs).
I've decided to take advantage of the layout characteristics of HTML
documents to simplify my printing tasks, but...
|
by: bastawhiz |
last post by:
With VB.Net 05 and IE7, I'm trying to find a way to block any ActiveX
controls from loading in a standard WebBrowser control. For example, I
want to prevent Flash, Quicktime, etc. from running. Is...
|
by: Benson |
last post by:
I want to write a program to display files (xls, doc,html,pdf,jpg) on
screen. I thought I can use WebBrowser in VB2005 to do this job since those
kinds of files can be displayed in IE.
I try to...
|
by: Zytan |
last post by:
I have multiple threads writing to WebBrowser (using a function that
checks InvokedRequired, and if so, invokes itself on the WebBrowser
thread) and they are getting deadlocked.
They only...
|
by: topher23 |
last post by:
I'm trying to use a WebBrowser control to automate data entry from our local Access system to the web-based corporate ERP system. Unfortunately, I've run into a snag. Several of the text boxes that...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
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,...
|
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |