by Ryan Hartman (2 Submissions)
Category: String Manipulation
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (3 Votes)
Create a text box that only allows Numbers in it, no letters great for Numeric Applications!
Inputs
Textbox: Name:Text1
Private Sub Text1_KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case 48 To 57
Case 8
Case Else
Beep
MsgBox "Visit:http://members.xoom.com/RYANMP5/ for more code!"
KeyAscii = 0
End Select