
09-10-2008, 02:42 PM
|
Newcomer
|
|
Join Date: Sep 2008
Posts: 1
|
|
accepting imput and limiting characters
alright, my 2nd day of work at my University library, and they want me to write a program in Visual Web Developer 2008 that can
1. accept a number between 1 and 99,999,999
2. accept a string between 1 and 99,999,999
and return a value: ncgre000|00000001|00000001
the second section of the returned value changes depending on what number is input, 1-1000 = 1, 1001-2000 = 2 and so on
the 3rd section is what ever number was input
the only problem is I'm only mildly familure with VB. I'm pretty proficient in C++ but i don't see how thats gonna help here
i have no idea where to start or what to even do to accept user input in VB, much less limit the number of characters and return it. well i have an idea for returning it (storing it in a variable) but im pretty lost otherwise
any suggestions?
I have my text box, and i have the number of characters limited, but im still trying to figure out how to limit its input to only numbers
Edit:wow i spelled input wrong, epic fail
|
Last edited by cossiah; 09-10-2008 at 03:04 PM.
|