473,327 Members | 2,012 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,327 software developers and data experts.

block pop ups in window application

I am developing a window application, where i open a web page on a
click event.

but problem is all pop ups also opened when i open that page.
is there any way to block pop ups without adjusting browser settings.

can we block pop ups through code.

Amit

Mar 8 '06 #1
1 1585
Amit,

If the browser you are opening is internet explorer, then you should
open it through automation. Then, you need to attach to the NewWindow event
for the webbrowser. In that event, you can cancel the creation of the new
window if it does not meet your criteria.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"sonu" <kr*******@yahoo.com> wrote in message
news:11**********************@z34g2000cwc.googlegr oups.com...
I am developing a window application, where i open a web page on a
click event.

but problem is all pop ups also opened when i open that page.
is there any way to block pop ups without adjusting browser settings.

can we block pop ups through code.

Amit

Mar 8 '06 #2

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

Similar topics

4
by: Christopher | last post by:
This should be a quick one. URL: http://cfa-www.harvard.edu/~cpilman/Stuff/flush.html Code: ============================= <!DOCTYPE HTML Public "-//W3C//DTD HTML 4.01//EN">...
1
by: picard | last post by:
I have seen in various posts that there are tricks to increasing the largest continuous memory block available to an application on a windows machine. I want to prove this is possible using a...
1
by: Mariusz Wojsyk | last post by:
Greetings. I use Configuration Application Block of Enterprise Library to store some user application settings like window size, position, etc.. Is there a way to set the FileName property of...
1
by: Brad Rogers | last post by:
Is there a way I can modify the properties of a program to BLOCK it from closing? Example, its cold, my fingers dont move well, I was typing a dissertation and somehow hit a shortcut to CLOSE...
0
by: Sudhee | last post by:
Hi, I am using UIP application Block 2.0. I want current window to be closed when I open next window ( with property Stayopen =false in app.config).I am using Opennavigator. Since I am opening...
0
by: lechatthierry | last post by:
Is it possible to block a mouse event on an Hyperlink with a general script event? This is quite troublesome for me. I am trying to find a way to block the windows shortcut SHIFT + MOUSE LEFT...
1
by: Neko | last post by:
Is it possible to block a mouse event on an Hyperlink with a general script event? This is quite troublesome for me. I am trying to find a way to block the windows shortcut SHIFT + MOUSE LEFT...
0
by: =?Utf-8?B?bG9yaW5n?= | last post by:
Hi, I'm using UIP Application Block v2.0, I implemented a very simple application (a Controller and two pages) to get use to it. It works fine on my computer, but when I deploy it on my other...
15
by: cssExp | last post by:
hello, Rather than going on a wild explanation on what's the the problem, it'll be much quicker and easier if i let you look at it yourself, so I'll post my page source (actual contents taken out,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.