This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-07-21 19:43:37

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

VB.NET 2010 help?

I need help with VB. Someone get The-Whiz on here  tongue

Anyway, is anyone good with VB?


http://i46.tinypic.com/dw7zft.png

Offline

 

#2 2011-07-21 19:44:25

echs
Scratcher
Registered: 2010-03-18
Posts: 1000+

Re: VB.NET 2010 help?

All I have is the old "fake error" trick


http://i45.tinypic.com/35m4llw.gif

Offline

 

#3 2011-07-21 19:47:11

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: VB.NET 2010 help?

sad

A sub isn't working right for me... It's so annoing.


http://i46.tinypic.com/dw7zft.png

Offline

 

#4 2011-07-21 20:02:39

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: VB.NET 2010 help?

What do you want help with?


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#5 2011-07-21 21:07:42

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: VB.NET 2010 help?

what-the wrote:

What do you want help with?

big_smile

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  hmm )

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

http://i46.tinypic.com/dw7zft.png

Offline

 

#6 2011-07-21 21:38:22

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: VB.NET 2010 help?

SeptimusHeap wrote:

what-the wrote:

What do you want help with?

big_smile

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  hmm )

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)


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#7 2011-07-22 08:36:33

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: VB.NET 2010 help?

what-the wrote:

SeptimusHeap wrote:

what-the wrote:

What do you want help with?

big_smile

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  hmm )

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

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  sad

Maybe it's VB 2010?


http://i46.tinypic.com/dw7zft.png

Offline

 

#8 2011-07-22 17:39:36

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: VB.NET 2010 help?

Bump


http://i46.tinypic.com/dw7zft.png

Offline

 

#9 2011-07-22 17:42:32

bbbeb
Scratcher
Registered: 2009-06-11
Posts: 1000+

Re: VB.NET 2010 help?

SeptimusHeap wrote:

what-the wrote:

SeptimusHeap wrote:


big_smile

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  hmm )

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

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  sad

Maybe it's VB 2010?

WebBrowser_Navigated is for the built in browser....
and DocumentCompleted.....?


Back in my day.... there were no laws that censored the internet... now, there are.... nah.

Offline

 

#10 2011-07-23 08:47:05

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: VB.NET 2010 help?

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=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  sad

Maybe it's VB 2010?

WebBrowser_Navigated is for the built in browser....
and DocumentCompleted.....?

is the same. Bump!


http://i46.tinypic.com/dw7zft.png

Offline

 

#11 2011-07-23 11:01:04

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: VB.NET 2010 help?

Honestly Make a new one and follow the video then transport your ideas and features on to it.


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

Board footer