Results 1 to 5 of 5

Thread: Microsoft WebBrowser

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2005
    Posts
    36

    Microsoft WebBrowser

    I use Visual Basic.Net
    I work on one program..and i need..to make that webbrowser block popup..
    i read..ali posts about popup block..but nothing work...
    Please help..me..

  2. #2

    Thread Starter
    Member
    Join Date
    Jul 2005
    Posts
    36

    Question Re: Microsoft WebBrowser

    i find on this forum this code..
    Private Sub AxWebBrowser11_NewWindow2(ByVal sender As Object, ByVal Cancel As Boolean)
    Cancel = True
    End Sub
    but it does not work..i load this page http://www.popuptest.com/popuptest12.html
    (have 2 popups)..and all show...
    PLeeeeeeeeaseee help me..
    THanx.

  3. #3
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: Microsoft WebBrowser

    Hearing your help I have answered. I have XP service pack 2 and am loading that link and no popups are to be found at all. Suggesting you to install XP Pro SP2 with IE v6.0 pleasing you to thank.
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  4. #4

    Thread Starter
    Member
    Join Date
    Jul 2005
    Posts
    36

    Re: Microsoft WebBrowser

    but..in webBrowser...you will see that popup
    Is there any chance to block popups in web control..!??

  5. #5

    Thread Starter
    Member
    Join Date
    Jul 2005
    Posts
    36

    Re: Microsoft WebBrowser

    pleaseeeeeeeeee
    i use .net and this "Private Sub AxWebBrowser11_NewWindow2(ByVal sender As Object, ByVal Cancel As Boolean)
    Cancel = True
    End Sub" is for vb 6

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