Results 1 to 17 of 17

Thread: Eliminate popup windows

  1. #1

    Thread Starter
    Fanatic Member MikkyThomeon's Avatar
    Join Date
    Oct 2002
    Location
    At work...
    Posts
    648

    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

  2. #2
    Addicted Member
    Join Date
    Aug 2003
    Location
    Earth
    Posts
    139
    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 !

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    40
    can you install the google toolbar in your web browser app?

  4. #4
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068
    Originally posted by cjard
    can you install the google toolbar in your web browser app?
    <any> Toolbar sucks.

  5. #5
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    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)
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  6. #6
    Addicted Member
    Join Date
    Aug 2003
    Location
    Earth
    Posts
    139
    i donno but for some reason i too dont like extra tool bars

    i agree Spajeoly

  7. #7
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    edit: oops... let me make that look better

    Clicky
    Last edited by ober0330; Nov 21st, 2003 at 09:50 AM.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  8. #8
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385
    MikkyThomeon

    Install the Ultimate PopUp Killer. It's Free, No ads etc...

    http://www.download.com

  9. #9
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068
    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?

  10. #10
    Hyperactive Member
    Join Date
    Nov 2003
    Location
    In Front of my computer...
    Posts
    367
    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!

  11. #11
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068
    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.

  12. #12
    Hyperactive Member
    Join Date
    Nov 2003
    Location
    In Front of my computer...
    Posts
    367
    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!

  13. #13

    Thread Starter
    Fanatic Member MikkyThomeon's Avatar
    Join Date
    Oct 2002
    Location
    At work...
    Posts
    648
    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

  14. #14
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068
    Originally posted by EJ12N
    No problem mate

    i think u gotta put (resolved) in your post...
    LoL, it isn't my post brotha EJ.

  15. #15
    Hyperactive Member
    Join Date
    Nov 2003
    Location
    In Front of my computer...
    Posts
    367
    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!

  16. #16

    Thread Starter
    Fanatic Member MikkyThomeon's Avatar
    Join Date
    Oct 2002
    Location
    At work...
    Posts
    648

    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.

  17. #17

    Thread Starter
    Fanatic Member MikkyThomeon's Avatar
    Join Date
    Oct 2002
    Location
    At work...
    Posts
    648

    Unhappy 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
  •  



Click Here to Expand Forum to Full Width