Making sure somethings, like a text box, is numeric in VB, needs a simple piece of code. Good for calculator applications.
VB 2008
VB 6 (Prediction)Code:If (IsNumeric(TextBox1.text)) Then Code to excecute here End If
Sorry if my VB 6 sample is wrong, I have no experience with VB 6.Code:If (IsNumeric(Text1.text)) Then Code to excecute here End If
Thanks for reading!