I'm at something of a loss as to how this relates to the original question.here is my code
Dim a As Integer
Try
a = TextBox1.Text / 1
Catch ex As Exception
MsgBox("Number please")
End Try
This code is so bad, I'm not even sure it's .Net let alone able to do anythinghere is my code
Dim a As Integer
Try
a = TextBox1.Text / 1
Catch ex As Exception
MsgBox("Number please")
End Try