thank for the answer , but this code is for (add tab)
where can i but it Dim Browser As New WebBrowser
Browser.Name = "Web Browser"
Browser.Dock = DockStyle.Fill
AddHandler Browser.ProgressChanged, AddressOf loading
AddHandler Browser.DocumentCompleted, AddressOf Done
int = int + 1
in the event that fires when the tab is selected... it's going to take a little more effort though, as you're only going to want it to run when the tab has a caption of "+" ... otherwise it could end up in an endless loop as soon as you run TabControl1.SelectTab(int)