by MLazaro (2 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Wed 9th August 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Only numbers in TextBox (1 line, it's too easy)
Private Sub Text1_KeyPress(KeyAscii As Integer)
If Not IsNumeric(Chr(KeyAscii)) Then KeyAscii = 0
End Sub