i am trying to set a key press event to accept only letters a-z and back space no numbers but im not sure how to word it can anyone help?
djinn1971
0
Newbie Poster
Recommended Answers
Jump to Postyou just to handle keychar, but you must know the ascii of letters. this following code will not allowed you to input other character except letters or strings. so u cannot input number or other special character.
try this following code :Private Sub textDate_KeyPress(ByVal sender As …
All 4 Replies
Jx_Man
987
Nearly a Senior Poster
Featured Poster
tashiDuks
0
Light Poster
Luc001
77
Posting Whiz
kvprajapati
1,826
Posting Genius
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.