Jun 11th, 2005, 06:00 PM
#1
Thread Starter
Junior Member
numbers appearing wrong.. [Resolved]
attached below is the form of a program im making. one thing that i cant seem to fix is that i put different numbers in each side. and then i hit the button and then both numbers appear the same in the attack and defense text fields. i cant seem to find what is wrong. if it isnt a problem i would appreciate if someone took a look and see if they could find anything wrong.
Attached Files
Last edited by Bored Teenager; Jun 11th, 2005 at 06:31 PM .
Thanks for the help
- Bored Teenager -
Jun 11th, 2005, 06:04 PM
#2
Fanatic Member
Re: numbers appearing wrong..
zip up the file bro I can't read it unless you use winzip
www.winzip.com
Jun 11th, 2005, 06:07 PM
#3
Addicted Member
Re: numbers appearing wrong..
HI,
It looks like simple typos:
'Should be d1,d2,d3,tech2 for your defense.
Defender_Troops = Val(a1.Text)
Defender_Turrets = Val(a2.Text)
Defender_Tanks = Val(a3.Text)
Defender_WT = Val(tech1.Text)
Have a good one!
BK
Jun 11th, 2005, 06:07 PM
#4
Fanatic Member
Re: numbers appearing wrong..
Originally Posted by
paralinx
zip up the file bro I can't read it unless you use winzip
www.winzip.com
It's just a vb form file. You can read it without zipping it up.
Jun 11th, 2005, 06:09 PM
#5
Fanatic Member
Re: numbers appearing wrong..
Originally Posted by
Blade
It's just a vb form file. You can read it without zipping it up.
Oh yea, sorry I tried opening it and not saving it. Well we all know who's the smart one here
Jun 11th, 2005, 06:10 PM
#6
Re: numbers appearing wrong..
This :
VB Code:
Defender_Troops = Val(a1.Text)
Defender_Turrets = Val(a2.Text)
Defender_Tanks = Val(a3.Text)
should be with "d"s instead of "a"s
Has someone helped you? Then you can Rate their helpful post.
Jun 11th, 2005, 06:14 PM
#7
Thread Starter
Junior Member
Re: numbers appearing wrong..
wow, i really need to find my glasses, so obvious i didnt catch that.... well thanks for pointing it out to me.
Thanks for the help
- Bored Teenager -
Jun 11th, 2005, 06:18 PM
#8
Addicted Member
Re: numbers appearing wrong..
Hi,
manavo11:
I see why you have so many posts but I will forgive you since you missed tech2. <g>
Have a good one!
BK
Jun 11th, 2005, 06:28 PM
#9
Jun 11th, 2005, 06:31 PM
#10
Thread Starter
Junior Member
Re: numbers appearing wrong..
up caught that two after i found out wut i had did wrong. thnx anyway though.
Thanks for the help
- Bored Teenager -
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