C
Craig G
i want to use this on my pda app but it appears the compact framework doesnt have a TryParse method for textboxes
Dim theValue As Double
If theValue.Parse(TextBox1.Text, Globalization.NumberStyles.Float, Application.CurrentCulture.NumberFormat, theValue) = True then
MsgBox("True")
Else
MsgBox("False")
' Not a valid number
End If
Dim theValue As Double
If theValue.Parse(TextBox1.Text, Globalization.NumberStyles.Float, Application.CurrentCulture.NumberFormat, theValue) = True then
MsgBox("True")
Else
MsgBox("False")
' Not a valid number
End If