Results 1 to 4 of 4

Thread: Webbrowser no Pop ups ?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2009
    Posts
    462

    Webbrowser no Pop ups ?

    im using
    e.cancel = true
    to stop pop ups but some pop ups mange to get by it and still pop up
    is there another way to fix this ?

  2. #2
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Re: Webbrowser no Pop ups ?

    Where are you setting e.cancel = true? I am guessing in the NewWindow function, but you don't state that.

    It might depend on how the window is created. You will need to look at the offending page and see how it works to see if there is some way you can bypass it in the webbrowser control.

  3. #3
    Hyperactive Member Runesmith's Avatar
    Join Date
    Oct 2008
    Posts
    399

    Re: Webbrowser no Pop ups ?

    See "section 6 - Pop up blocker" in this code-bank submission:
    http://www.vbforums.com/showthread.php?t=406671
    Runesmith

    The key to getting the right answer is asking the right question

    I just realized: good health is merely the slowest possible rate at which one can die

  4. #4
    Fanatic Member newprogram's Avatar
    Join Date
    Apr 2006
    Location
    in your basement
    Posts
    769

    Re: Webbrowser no Pop ups ?

    that for vb6 he's asking about vs.net2008
    Quote Originally Posted by Runesmith View Post
    See "section 6 - Pop up blocker" in this code-bank submission:
    http://www.vbforums.com/showthread.php?t=406671
    Live life to the fullest!!

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