Hey,

So currently I am making a Web Browser to remember the sites I have been in (History). Currently I am using Tabbed Browsing (So it means I don't have a webBrowser until I add a new tab.) Now I have a navigate button with these code:

Navigate Button:
CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate(ComboBox1.Text)
ComboBox1.Items.Add(ComboBox1.Text)


Add New Tab Button:
Dim Browser As New WebBrowser
TabControl1.TabPages.Add("New Page")
TabControl1.SelectTab(int)
Browser.Name = "Web Browser"
Browser.Dock = DockStyle.Fill
TabControl1.SelectedTab.Controls.Add(Browser)
AddHandler Browser.DocumentCompleted, AddressOf Done
int = int + 1
CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoHome
()

Now when I navigate it says: Items collection cannot be modified when the DataSource property is set.

Any has an idea of how to solve this?

Thanks in advance

Note: I got the codes from this website: http://shorttext.com/rfvkrvt2cn