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
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.
Re: vb2008 New Window in own Browser
Re: vb2008 New Window in own Browser
Re: vb2008 New Window in own Browser