AdmiralZ
09-18-2005, 04:05 PM
Ok, obviously we have some programmers here, so I'd like to know something, if anyone can help me.
In VB, say I have a variable "intNumber", and its value is "0".
I also have a button called "cmdAddone".
What do I put inside the button's code to get it to add "1" to "intNumber"?
Basically what I am trying to do here is get a program to display a number and then add one onto it every time you click the button. How do I do that?
In VB, say I have a variable "intNumber", and its value is "0".
I also have a button called "cmdAddone".
What do I put inside the button's code to get it to add "1" to "intNumber"?
Basically what I am trying to do here is get a program to display a number and then add one onto it every time you click the button. How do I do that?