It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

visual basic help

Moderator: dafunkymunky

visual basic help

Postby jade777 on Thu May 13, 2010 4:39 pm

so im going an assignment and for one part of the question it asked me to make a a label for number of people but only to 0-9 ppl how would i make a statement for that on my program

Include a Text Box for the user to enter the number of people with an associated label

It is an error if ‘number of scoops’ is not entered. Issue a message box indicating that it must be entered, and set the focus in the scoops text box. Number of scoops must be 1 to 9. If it isn’t, issue a message.

so therefore if someone were to type in the txt box they cant type anything more then 9?
jade777
 
Posts: 1
Joined: Thu May 13, 2010 4:33 pm

Who is online

Users browsing this forum: No registered users and 2 guests