1) The first thing you are gonna need is a tab control. Place this anywhere you would like but leave some room at the top or bottom for our URL function such as GO, Stop and Refresh.
2) Next you will need some buttons but if its okay with you I would like us to use a ToolStrip.
3) Put this near the top and add 2 buttons first of all. Then A Textbox and 5 more buttons.
4) Now what your gonna wanna do is either change the display type to text if you don't have images for it otherwise put an image for it.
5) Okay change the caption for the first button to Back, the second button to Forward, the third to GO!, the forth to Stop, the fifth one to Refresh, the sixth to Add Tab, then the last one to Remove Tab. You can name these whatever you like bu I am gonna keep it simple like this.
6) Now go into the declarations area of the coding and put this:
Dim i As Integer = 1
What this means is that i will be used as an integer.
7) Okay now go into form load and put this:
Dim Browse As New WebBrowser TabControl1.TabPages.Add(1, "Page" & i) TabControl1.SelectTab(1 - 1) Browse.Name = "wb" Browse.Dock = DockStyle.Fill TabControl1.SelectedTab.Controls.Add(Browse) i = i + 1
Copy this into the add tab as well.
All this means is that the tab will add a tab page called page. The dock part just means it will fill the entire tab control. It will also open a tab when the program loads
8) Now go into the coding for the remove tab button it should look like this:
TabControl1.TabPages.RemoveAt(TabControl1.SelectedIndex) TabControl1.SelectTab(TabControl1.TabPages.Count - 1) i = i - 1
9) Now go into the coding for the Back button it should look like this:
What this means is that the Control type will be for the tab control, it will be doing this on the selected tab, and the cotrols for the item webbrowser will be GO back.
10)For the forward button, stop button and, refresh button change it to these respectivly:
There you go That is a Basic Tabbed Webbrowser. I am sorry I do not have images to help with this but I cannot save it as an image file. Sorry Guys!!!