|
-
May 23rd, 2005, 12:27 AM
#1
Thread Starter
New Member
[Resolved]-help with text boxes and numbers
Hey, this is a very noobish question!
i got sum text boxes and the user puts sum numbers into the text boxes
when they press the command button it adds the numbers the user put in and displays them, but say i put "1" in text1 and "1" in text2 and pressed the command, i get 11, what declirations are needed?
VB Code:
text3.text = text1.text + text2.text
please help
Last edited by theasker; May 23rd, 2005 at 01:24 AM.
-
May 23rd, 2005, 12:59 AM
#2
Addicted Member
Re: [simple]-help with text boxes and numbers
use
text3 = cint(text1.text) + cint(text2.text)
-
May 23rd, 2005, 01:24 AM
#3
Thread Starter
New Member
Re: [simple]-help with text boxes and numbers
thanx! and sorry for being such a noob!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|