how do i reffrence a Tabbed Webbrowser from a different form

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
1 post Page 1 of 1
Contributors
User avatar
GaiaonlineHD
Member
Member
Posts: 40
Joined: Mon Jan 23, 2012 8:51 pm

I use this code and it doesnt work :/
Code: Select all
Public Sub BookmarkClick(ByVal sender As ToolStripMenuItem, ByVal e As System.EventArgs)
        Main.CType(TabControl1.SelectedTab.Controls.Item(0),WebBrowser).Navigate(sender.Text)
End Sub
The form with the webbrowser is the (Main) and i need to use this for a Bookmark form and it brings up an error help?
1 post Page 1 of 1
Return to “Tutorial Requests”