Some VB.NET help please I'm working on part 2 of my project which includes coding a calculate button to calculate totals for the basic form I've created. I have all of the calculating coding done and i'm trying to do Input validation using a Try, End Try error catch procedure. However, for some reason I can't get it to work. I had used the same exact code that I had done in the lab last week but on this project it doesn't seem to work and no matter what I put into the textboxes I want to validate, I get the message box. Can anyone tell me what might be wrong with it? I can provide the files or project folder if necessary. Code: Private Sub mnuCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuCalculate.Click 'Dimension the variables Dim intQuantity1 As Integer Dim intQuantity2 As Integer Dim intQuantity3 As Integer Dim decPrice1 As Decimal Dim decPrice2 As Decimal Dim decPrice3 As Decimal Dim decSubtotal As Decimal Dim decTax As Decimal Dim decTotal As Decimal 'Convert input to numeric value and check for data entry errors. Try If Not IsNumeric(txtQuantity1.Text) Then MessageBox.Show("Quantity entered is not numeric.") Else intQuantity1 = CInt(txtQuantity1.Text) End If 'Convert input to numeric data. intQuantity1 = CInt(txtQuantity1.Text) intQuantity2 = CInt(txtQuantity2.Text) intQuantity3 = CInt(txtQuantity3.Text) decPrice1 = CDec(txtPrice1.Text) decPrice2 = CDec(txtPrice2.Text) decPrice3 = CDec(txtPrice3.Text) 'Perform calculations decSubtotal = intQuantity1 * decPrice1 + intQuantity2 * decPrice2 + _ intQuantity3 * decPrice3 decTax = decSubtotal * decTaxRate decTotal = decSubtotal + decTax 'Display the calculation results lblSubtotalAmount.Text = FormatCurrency(decSubtotal) lblTaxAmount.Text = FormatCurrency(decTax) lblTotalAmount.Text = FormatCurrency(decTotal) 'Catch data entry errors in quantity Catch MyErr As InvalidCastException MessageBox.Show("Quantity entered is not numeric.", _ "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) End Try And yes, I realize that I have the convert code in there twice for Quantity1, but I put them all back there until I can figure this out, just so I don't have to type em out again.