Click to See Complete Forum and Search --> : ?????/
phanbachloc
Nov 30th, 2002, 05:20 AM
PLEASE TELL ME WHERE THE "www.vbsquares.com" is?i cant visit it
ZenMan
Nov 30th, 2002, 05:59 AM
Is this a joke?
MartinLiss
Nov 30th, 2002, 10:28 AM
www.vbsquare.com was lost (maybe temporarily) in the change of forum owners.
MartinLiss
Nov 30th, 2002, 10:35 AM
Limit the user to letters, numbers and the backspace in a textbox.
Private Sub Text1_KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case 8 ' Backspace
Case 48 To 57 ' Numbers
Case 97 To 122 ' Lowercase letters
Case 65 To 90 ' Uppercase letters
Case Else
KeyAscii = 0
End Select
End Sub
MartinLiss
Nov 30th, 2002, 10:37 AM
That can also be written
Private Sub Text1_KeyPress(KeyAscii As Integer)
Select Case KeyAscii
Case 8, 48 To 57, 97 To 122, 65 To 90
Case Else
KeyAscii = 0
End Select
End Sub
parksie
Nov 30th, 2002, 03:12 PM
Um, Martin?
MartinLiss
Nov 30th, 2002, 07:31 PM
Originally posted by parksie
Um, Martin? Oh, I see... I answered the wrong post. :o
honeybee
Dec 1st, 2002, 12:10 PM
Originally posted by MartinLiss
Oh, I see... I answered the wrong post. :o
LOL gotta report those two posts: "flooding" :p
.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.