Results 1 to 3 of 3

Thread: Webbrowser Control

  1. #1
    billfaceuk
    Guest

    Webbrowser Control

    If i'm making my own kind of webbrowser how do i make external links open in my browser?, I mean I want it to open externally but in my browser.

    Thanx.

  2. #2
    Frenzied Member
    Join Date
    Mar 2001
    Location
    You are HERE •™
    Posts
    1,300
    It all deals with the NewWindow2 Event. Here's a link with example code that should help you out.

    http://support.microsoft.com/support.../Q184/8/76.ASP

    The only thing this won't affect is CTRL+N accelerator. For some reason CTRL+N will ONLY open a new instance of IE.
    Last edited by Bloodeye; Jul 1st, 2001 at 01:16 PM.

  3. #3
    Matthew Gates
    Guest
    Something like this?

    VB Code:
    1. Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)
    2.  
    3.     Dim newfrm As New Form1
    4.     Set ppDisp = newfrm.WebBrowser1.Object
    5.     newfrm.Show
    6.    
    7. End Sub

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