what-the wrote:
What do you want help with?
my wishes have been answered!
I have a tabbed webbrowser, with this code to set the tab text to the page title, here is the code: (it doesn't even run
)
Private Sub WebBrowser_DocumentCompleted(ByVal sender As Object, ByVal e As WebBrowserDocumentCompletedEventArgs)
'Me.Text = CType(TabControl1.SelectedTab.Controls.Item(0), Webrowser).DocumentTitle & " - The browser without a name"
TabControl1.SelectedTab.Text = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).DocumentTitle
End SubOffline
SeptimusHeap wrote:
what-the wrote:
What do you want help with?
![]()
my wishes have been answered!
I have a tabbed webbrowser, with this code to set the tab text to the page title, here is the code: (it doesn't even run)
Code:
Private Sub WebBrowser_DocumentCompleted(ByVal sender As Object, ByVal e As WebBrowserDocumentCompletedEventArgs) 'Me.Text = CType(TabControl1.SelectedTab.Controls.Item(0), Webrowser).DocumentTitle & " - The browser without a name" TabControl1.SelectedTab.Text = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).DocumentTitle End Sub
So your saying this doesn't work? Let me have a look.
Are you saying that the document complete doesn't run?
Make sure that your web browser on each tab is infact item 0.
Make sure to have all tabs removed before run.
I don't know what all your code is but you should make it simular to this until you have it working
http://www.scratch.mit.edu/ext/youtube/?v=Gd5xh_HF7EE&feature=related
Last edited by what-the (2011-07-21 22:02:44)
My site Offline
what-the wrote:
SeptimusHeap wrote:
what-the wrote:
What do you want help with?
![]()
my wishes have been answered!
I have a tabbed webbrowser, with this code to set the tab text to the page title, here is the code: (it doesn't even run)
Code:
Private Sub WebBrowser_DocumentCompleted(ByVal sender As Object, ByVal e As WebBrowserDocumentCompletedEventArgs) 'Me.Text = CType(TabControl1.SelectedTab.Controls.Item(0), Webrowser).DocumentTitle & " - The browser without a name" TabControl1.SelectedTab.Text = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).DocumentTitle End SubSo your saying this doesn't work? Let me have a look.
Are you saying that the document complete doesn't run?
Make sure that your web browser on each tab is infact item 0.
Make sure to have all tabs removed before run.
I don't know what all your code is but you should make it simular to this until you have it working
http://www.scratch.mit.edu/ext/youtube/?v=Gd5xh_HF7EE&feature=related
Well, doing any of those things won't help, sadly,. because DocumentCompleted AND WebBrowser_Navigated won't run, even if I make it just return a msgbox
Maybe it's VB 2010?
Offline
SeptimusHeap wrote:
what-the wrote:
SeptimusHeap wrote:
![]()
my wishes have been answered!
I have a tabbed webbrowser, with this code to set the tab text to the page title, here is the code: (it doesn't even run)
Code:
Private Sub WebBrowser_DocumentCompleted(ByVal sender As Object, ByVal e As WebBrowserDocumentCompletedEventArgs) 'Me.Text = CType(TabControl1.SelectedTab.Controls.Item(0), Webrowser).DocumentTitle & " - The browser without a name" TabControl1.SelectedTab.Text = CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).DocumentTitle End SubSo your saying this doesn't work? Let me have a look.
Are you saying that the document complete doesn't run?
Make sure that your web browser on each tab is infact item 0.
Make sure to have all tabs removed before run.
I don't know what all your code is but you should make it simular to this until you have it working
http://www.scratch.mit.edu/ext/youtube/?v=Gd5xh_HF7EE&feature=relatedWell, doing any of those things won't help, sadly,. because DocumentCompleted AND WebBrowser_Navigated won't run, even if I make it just return a msgbox
![]()
Maybe it's VB 2010?
WebBrowser_Navigated is for the built in browser....
and DocumentCompleted.....?
Offline
bbbeb wrote:
SeptimusHeap wrote:
what-the wrote:
So your saying this doesn't work? Let me have a look.
Are you saying that the document complete doesn't run?
Make sure that your web browser on each tab is infact item 0.
Make sure to have all tabs removed before run.
I don't know what all your code is but you should make it simular to this until you have it working
http://www.scratch.mit.edu/ext/youtube/?v=Gd5xh_HF7EE&feature=relatedWell, doing any of those things won't help, sadly,. because DocumentCompleted AND WebBrowser_Navigated won't run, even if I make it just return a msgbox
![]()
Maybe it's VB 2010?WebBrowser_Navigated is for the built in browser....
and DocumentCompleted.....?
is the same. Bump!
Offline
Honestly Make a new one and follow the video then transport your ideas and features on to it.
My site Offline