I want to add a favorites tab to my web browser. I made it into a different form within my project. But I get an error saying it can't find TabControl1 which is on Form1. How do I allow Form3 to get information from Form1? This is my code:
VB.NET:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
My.Settings.Bookmarks.Add(CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).URL.ToString)
ListBox1.Items.Clear()