Open link in new tab source
Posted: Wed Aug 25, 2010 5:18 pm
Ok i hate this code,i searched for it over a month,found some codes but i get errors.If is someone that knows the code,please make a source with it. devil;
Sharing, Teaching and Supporting coders of all ages and levels since 2009
https://www.codenstuff.com/forum/
Dim newtab As TabPage
Dim webb As New WebBrowser
e.Cancel = True
newtab.Text = "Untitled"
webb.Dock = DockStyle.Fill
webb.Url = New Uri(Me.wb.Url.AbsoluteUri)
newtab.Controls.Add(webb)
Me.wb = webb
Me.tabcontrol1.Controls.Add(newtab)