Results 1 to 4 of 4

Thread: another window in webbrowser ??

  1. #1

    Thread Starter
    Registered User
    Join Date
    Jun 1999
    Location
    palmdale, ca. USA
    Posts
    150

    another window in webbrowser ??

    ok guys,

    so i'm playing with the webbrowser control/component...

    when i get to a link that wants to open another window... how do i do that within my vb program, instead of it opening another window in the default system web browser such as internet explorer ?

    thanks,
    kevin

  2. #2

    Thread Starter
    Registered User
    Join Date
    Jun 1999
    Location
    palmdale, ca. USA
    Posts
    150

    anyone /??

    anyone ??

  3. #3
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    VB Code:
    1. Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)
    2. Dim frm As New frmBrowser
    3.  
    4.     Set ppDisp = frm.WebBrowser1.Object
    5.     frm.Show
    6.  
    7. End Sub
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  4. #4
    Lively Member Deucy's Avatar
    Join Date
    Mar 2003
    Location
    Cali
    Posts
    85
    nice move, blade.. wouldn't have thought of it..

    u know what.. i learn a lot from this forum.. i just signed up yesterday

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