Results 1 to 5 of 5

Thread: vb2008 New Window in own Browser

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2009
    Posts
    4

    Question vb2008 New Window in own Browser

    Hello

    first of all, I don't know if im at the right section here.

    I'm making a webbrowser and I'm stuck at the newwindow event.
    How do I open a new form of my own instead of Internet Explorer.

    now i'm using

    Code:
     Private Sub WebBrowser1_NewWindow1(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles WebBrowser1.NewWindow
            e.Cancel = True
            Dim ECTB As New frmECTB
            ECTB.WebBrowser1.Navigate(WebBrowser1.Url)
            ECTB.Show()
        End Sub
    but how do I get the url from the link?

    I'm not using tabs at the moment, maybe later

    can someone please help me?
    I looked everywhere, but the only thing I can find is for VB6 or something

    Many Thanks
    Sluijsens
    Last edited by Sluijsens; Nov 24th, 2009 at 04:41 PM.

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