Simple question...
If you execute a block of statements that uses the IsNumeric function
on a text box that contains no data, will it cause a run time error?
Thanks
looks like this:
If IsNumeric(txtIn put.Text) = True Then
MessageBox.Show ("Numeric entry found")
Else
MessageBox.Show ("Non-numeric entry found", _
"Compound If") :
btnClear.Focus( )
End If
I think this could be a possible test question and i just want to
understand what would happen. Thanks!
If you execute a block of statements that uses the IsNumeric function
on a text box that contains no data, will it cause a run time error?
Thanks
looks like this:
If IsNumeric(txtIn put.Text) = True Then
MessageBox.Show ("Numeric entry found")
Else
MessageBox.Show ("Non-numeric entry found", _
"Compound If") :
btnClear.Focus( )
End If
I think this could be a possible test question and i just want to
understand what would happen. Thanks!
Comment