Ask your own question, for FREE!
Computer Science 19 Online
OpenStudy (anonymous):

How do you restrict input to only certain numbers and assign a number to the certain numbers in VB 2012? Example: 0=0, 1=20, 2=40, 3=60, 4=80, 5=100

OpenStudy (kva1992):

I would make an if statement and within the if statement make a select statement something like this If input.text = 0 or input.text =1 then select input.text case 1 i = 0 case 2 i = 20 end select end if something along those lines should do

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!