What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » VB game

VB game
Author: Message:
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
32 / Male / Flag
Joined: Mar 2003
Status: Online
RE: VB game
Add a module and inside it type:
code:
Public LabelTotal as Integer
Then, when you want to add to it (usually after you change your label's caption), just use:
code:
LabelTotal = LabelTotal + CInt(LabelNameGoesHere.Caption)
When you want to see what in LabelTotal, just use:
code:
lblTotal.Caption = LabelTotal
(where lblTotal is the name of the label where you want do display the result).

Good luck :)

Btw, what was your problem with doing it in one form?
YouTube closed-captions ripper (also allows you to download videos!)
08-29-2007 10:22 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
VB game - by Th3rmal on 08-29-2007 at 09:06 AM
RE: VB game - by Jarrod on 08-29-2007 at 10:10 AM
RE: VB game - by Mike on 08-29-2007 at 10:22 AM
RE: VB game - by Th3rmal on 08-29-2007 at 12:50 PM
RE: VB game - by Jarrod on 08-30-2007 at 05:56 AM
RE: VB game - by Th3rmal on 08-30-2007 at 07:20 AM
RE: VB game - by Jarrod on 08-30-2007 at 07:35 AM
RE: VB game - by rav0 on 08-30-2007 at 08:26 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On