how to restrict the user from entering numbers or any special char....
C#
2
Posts
2
Posters
0
Views
1
Watching
-
how to restrict the user from entering numbers or any special char.... and pls also send me list or ascii key
You will need to handle either key down, key up or key press events. Make sure to check for modifier keys. You will also need to handle pasting too. There's an example here[^] that only allows numerics. You can easily use this to work out what you need to do for your situation.
Dave
Generic BackgroundWorker - My latest article!
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Why are you using VB6? Do you hate yourself? (Christian Graus)