VS 2010 - Error Message Will Not Display On Invalid InputDec 2, 2010
I am working on a program where a user either enters "small" or "large" and then the number of toppings. Once the user has done that my program outputs the total cost of a pizza based on user input. If they enter something else besides a number in the txtNumberOfToppings I am trying to show they message box that says "Re-Enter a valid number!" Likewise I am trying to display the error message "Re-enter a number that is 0 or greater!" If they enter a negative number into the textbox. However they do not display when I do enter invalid input.
Author: Adam Fandre
Description: User enters the words "SMALL" or "LARGE" and then the number of toppings
And program then displays cost based on user input.
Option Explicit On
Option Strict On