|
-
Nov 21st, 2003, 04:17 AM
#1
Thread Starter
Fanatic Member
Eliminate popup windows
I have an app that uses the webbrowser control. I need to find a way to eliminate popup windows from popping up whenever the browser surfs to a page that has a popup window.
I can use CloseWindow, but I want to guarantee that no other windows appear. No user intervention occurs and the program must run without the popup windows.
tks in advanc3
-
Nov 21st, 2003, 04:22 AM
#2
Addicted Member
Disable the java script and reunable it on exit as most of the sites use window.open function of java script maybe look for that !
-
Nov 21st, 2003, 06:29 AM
#3
Member
can you install the google toolbar in your web browser app?
-
Nov 21st, 2003, 07:55 AM
#4
Frenzied Member
Originally posted by cjard
can you install the google toolbar in your web browser app?
<any> Toolbar sucks.
-
Nov 21st, 2003, 09:07 AM
#5
Frenzied Member
I beg to disagree, Spajeoly. The google bar is quite effective. (although I opt for better browsers than IE for my own use such as Opera that have built in pop-up blocking)
-
Nov 21st, 2003, 09:20 AM
#6
Addicted Member
i donno but for some reason i too dont like extra tool bars
i agree Spajeoly
-
Nov 21st, 2003, 09:45 AM
#7
Frenzied Member
edit: oops... let me make that look better
Clicky
Last edited by ober0330; Nov 21st, 2003 at 09:50 AM.
-
Nov 22nd, 2003, 03:12 AM
#8
MikkyThomeon
Install the Ultimate PopUp Killer. It's Free, No ads etc...
http://www.download.com
-
Nov 22nd, 2003, 03:21 AM
#9
Frenzied Member
Heh, I am a true lover of Google, but the fact of any program burrowing into Internet Explorer like a tick bothers me. There are plenty of examples out there that make me not like any toolbar. Lets say for instance, Hotbar. Not that Google would ever do anything to make themselves deserve to die like Hotbar has, but, as always, it only takes one bad apple to spoil the whole bunch. With some people anyways, me being one of the some.
To stop popups on my own computer I just keep it free of spyware & adware.
Mikky wants to have them not pop up in his program from a webbrowser control. I think there is a setting in the properties for it to not allow any new windows.. I forget what it is since I never use this control, anyone help me out on this property setting?
-
Nov 22nd, 2003, 03:40 AM
#10
Hyperactive Member
Code:
Private Sub WebBrowser_NewWindow2(ppDisp As Object, Cancel As Boolean)
ppDisp = nothing
cancel = True
End Sub
u will never see a popup with that code 
hope that helps u
Born to help others
(If I've been helpful then please rate my post. Thanks)
call me EJ or be slapped! 
-
Nov 22nd, 2003, 03:51 AM
#11
Frenzied Member
Originally posted by EJ12N
Code:
Private Sub WebBrowser_NewWindow2(ppDisp As Object, Cancel As Boolean)
ppDisp = nothing
cancel = True
End Sub
u will never see a popup with that code 
hope that helps u
Thank ya, Brotha EJ.
-
Nov 22nd, 2003, 06:18 AM
#12
Hyperactive Member
No problem mate 
i think u gotta put (resolved) in your post...
Born to help others
(If I've been helpful then please rate my post. Thanks)
call me EJ or be slapped! 
-
Nov 22nd, 2003, 06:33 AM
#13
Thread Starter
Fanatic Member
I am @home on the weekend. Will try it back@work. Thanks for all of your responses.
My program automatically looks up content on webpages and downloads appropriate content. I will have to see if this idea works first. The program navigates to a url, then stores all the links from that page to a table, as well as searching the page for information. It then goes to the first unlooked up link and then repeats the process in a recursive loop!!! Its an awesome concept and I thought I was the first to invent it until I was searching on the web a few days back and saw another program that did the same. I would appreciate some feedback
-
Nov 22nd, 2003, 07:07 AM
#14
Frenzied Member
Originally posted by EJ12N
No problem mate 
i think u gotta put (resolved) in your post...
LoL, it isn't my post brotha EJ.
-
Nov 22nd, 2003, 08:04 AM
#15
Hyperactive Member
Ouch... ya lol well the owner of the post
Born to help others
(If I've been helpful then please rate my post. Thanks)
call me EJ or be slapped! 
-
Dec 3rd, 2003, 04:02 AM
#16
Thread Starter
Fanatic Member
Nope
I tried the suggestions but they did not work accurately. There is a similar post here
This method sounds good. But now there is another thing I would like to have: I do not want the webbrowser control to display the download dialog for files and I do not want to download those files.
Any assistance plz'ni would gr8full.
-
Dec 3rd, 2003, 09:26 AM
#17
Thread Starter
Fanatic Member
link
Yup - the example in the link able did work OK. Anyone know how to cancel file downloads??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|