I have made a tabbed webbrowser and what i want is that when the webbrowser page is loaded
the name of it will go to the form text ,the tab text, and the apsolutepath at the URL textbox on top.
My problem is that i cannot find what i will put in the handle option becouse i want to handle all webbrowsers
Expand|Select|Wrap|Line Numbers
- Private sub AllWebBrowser_DocumentCompleted(ByVal sender As System.Object,ByVale As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs)
- Handles (?????)
- Me.text = (Ctype(Tabcontrol1.slectedtab.controls.item(0), webbrowser).documenttitle & (" - Prox"))
- Tabcontol1.selectedtab.text = Ctype(Tabcontrol1.slectedtab.controls.item(0), webbrowser).documenttitle
- textbox1.text = Ctype(tabcontrol1.selectedtab.controls.item(0),webbrowser).Url.tostring
- end sub
(if needed, this is the add tab button)
Expand|Select|Wrap|Line Numbers
- Dim TP As New TabPage
- TP.Text = "Blank Page" & (TabControl1.TabPages.Count + 1)
- TabControl1.TabPages.Add(TP)
- TabControl1.SelectedTab = TP
- Dim NW As New WebBrowser
- TabControl1.SelectedTab.Controls.Add(NW)
- NW.Dock = DockStyle.Fill
- NW.Navigate("www.google.com")
Thanks for any response...