donrecardo
Member
- Joined
- Sep 24, 2009
- Messages
- 14
- Programming Experience
- Beginner
Hi
Still struggling with my vb.net 2003 at college ,
Lately things have gone quite well but I just came across a new problem
I have a textbox and I need to restrict entry to only the letters A-Z , a-z and the space key
I know I need to use something like
If (Microsoft.VisualBasic.Asc(e.KeyChar) < 65) _
Or (Microsoft.VisualBasic.Asc(e.KeyChar) > 90)
etc
with an e.handled at the end
I found the above code while searching online but cant quite get it , can some one poiunt me in the right direction
Regards Don
Still struggling with my vb.net 2003 at college ,
Lately things have gone quite well but I just came across a new problem
I have a textbox and I need to restrict entry to only the letters A-Z , a-z and the space key
I know I need to use something like
If (Microsoft.VisualBasic.Asc(e.KeyChar) < 65) _
Or (Microsoft.VisualBasic.Asc(e.KeyChar) > 90)
etc
with an e.handled at the end
I found the above code while searching online but cant quite get it , can some one poiunt me in the right direction
Regards Don