Hi Folks,
I am trying to create a small vB program that the user can enter a number in a text box and then add it to a list box.
Click Add to add this number to a list of numbers (a list box).
Click Remove to remove a selected number from the list of numbers.
Click Remove All to remove all numbers from the list
Validation
• When adding a value to the list, you must validate that the value is actually a number.
• If it is not a number, clear the text box and allow the user to enter another number immediately (i.e. put focus back to the text box).
• Ensure that clicking Remove does not throw an error if there are no numbers in the list or if nothing is selected in the list.
I seem to be running into problems when trying to add it to the list box. Is this a data type problem.
Any help would be appreciated!
Enter your message below
Sign in or Join us (it's free).