Advertisement
ASP_Volume3 Complete Applications #61060

Easiest way to tell if text is a number

Shows you how to check if text is a numeric *Easiest way*

AI

Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Codice sorgente
original-source
<i>'You need a command button (Command1)<br>
'Also a textbox (Text1)</i><br><br>
Private Sub Command1_Click() 
 If IsNumeric(Text1.Text) Then <br>
 MsgBox "Thankyou for entering a number" <br>
 Else: MsgBox "Please enter a number" <br>
End If 
End Sub <br>
Commenti originali (3)
Recuperato da Wayback Machine