|
-
June 28th, 2008, 02:42 AM
#1
KeyAscii = 0
hi everyone,
i use this code in VB for not to type anything in the TextBox on keypress event
how this code can be changed in VB.Net ?
i tried
but does not work
please rate the post if this is useful. And also never forget to mark the thread as [Resolved] when your problem is solved
-
June 28th, 2008, 05:29 AM
#2
Re: KeyAscii = 0
You could use e.Handled = True
-
June 28th, 2008, 11:37 AM
#3
Re: KeyAscii = 0
 Originally Posted by chunks
hi everyone,
i use this code in VB for not to type anything in the TextBox on keypress event
how this code can be changed in VB.Net ?
i tried
but does not work
Dot net uses the actual character rather than the numeric code for the character.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|