Results 1 to 5 of 5

Thread: vb2008 New Window in own Browser

  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.

  2. #2
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: vb2008 New Window in own Browser

    This is the application development section where you can talk about issues to do with creating installers for your software. Your question is a basic coding question and belongs in the Visual Basic.Net section. I have already requested this thread moved so you don't have to worry about posting the same question in the appropriate section.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: vb2008 New Window in own Browser

    Moved To VB.NET

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2009
    Posts
    4

    Re: vb2008 New Window in own Browser

    OK thanks.

  5. #5

    Thread Starter
    New Member
    Join Date
    Aug 2009
    Posts
    4

    Re: vb2008 New Window in own Browser

    anyone?

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