Click here to Skip to main content
15,892,674 members
Home / Discussions / C#
   

C#

 
QuestionHow to handle keypressevent Pin
dnyanubhamare17-Feb-08 19:17
dnyanubhamare17-Feb-08 19:17 
AnswerRe: How to handle keypressevent Pin
Christian Graus17-Feb-08 19:23
protectorChristian Graus17-Feb-08 19:23 
AnswerRe: How to handle keypressevent Pin
Ravenet17-Feb-08 19:53
Ravenet17-Feb-08 19:53 
GeneralRe: How to handle keypressevent Pin
Xmen Real 17-Feb-08 20:40
professional Xmen Real 17-Feb-08 20:40 
GeneralRe: How to handle keypressevent Pin
Christian Graus17-Feb-08 22:04
protectorChristian Graus17-Feb-08 22:04 
GeneralRe: How to handle keypressevent Pin
Xmen Real 17-Feb-08 22:39
professional Xmen Real 17-Feb-08 22:39 
GeneralRe: How to handle keypressevent Pin
Christian Graus17-Feb-08 22:03
protectorChristian Graus17-Feb-08 22:03 
GeneralRe: How to handle keypressevent Pin
Pete O'Hanlon17-Feb-08 23:01
mvePete O'Hanlon17-Feb-08 23:01 
Ravenet wrote:
very easy man
when you press key , just check ur keypressEventArhs e value.

e.keycode==47----->57

same like other character ascii value also.


Please don't do this as this is really bad practice - you're limiting yourself to targeting ASCII here, plus you have to take care of both Upper and Lower case characters. .NET provides things like Char.IsLetter for a reason.


Deja View - the feeling that you've seen this post before.

My blog | My articles



GeneralRe: How to handle keypressevent Pin
Ravenet17-Feb-08 23:04
Ravenet17-Feb-08 23:04 
GeneralRe: How to handle keypressevent Pin
J4amieC18-Feb-08 0:31
J4amieC18-Feb-08 0:31 
GeneralRe: How to handle keypressevent Pin
Ravenet18-Feb-08 1:23
Ravenet18-Feb-08 1:23 
Questionhow to get no Pin
sugunavathy17-Feb-08 18:13
sugunavathy17-Feb-08 18:13 
AnswerRe: how to get no Pin
Christian Graus17-Feb-08 18:22
protectorChristian Graus17-Feb-08 18:22 
GeneralRe: how to get no Pin
sugunavathy17-Feb-08 18:34
sugunavathy17-Feb-08 18:34 
GeneralRe: how to get no Pin
Christian Graus17-Feb-08 18:35
protectorChristian Graus17-Feb-08 18:35 
GeneralRe: how to get no Pin
sugunavathy17-Feb-08 19:00
sugunavathy17-Feb-08 19:00 
GeneralRe: how to get no Pin
Christian Graus17-Feb-08 19:09
protectorChristian Graus17-Feb-08 19:09 
GeneralRe: how to get no Pin
sugunavathy17-Feb-08 22:02
sugunavathy17-Feb-08 22:02 
Questionblocking the sql server 2000 Pin
Sonia Gupta17-Feb-08 18:06
Sonia Gupta17-Feb-08 18:06 
GeneralRe: blocking the sql server 2000 Pin
Vikram A Punathambekar17-Feb-08 18:17
Vikram A Punathambekar17-Feb-08 18:17 
GeneralRe: blocking the sql server 2000 Pin
Christian Graus17-Feb-08 18:38
protectorChristian Graus17-Feb-08 18:38 
GeneralRe: blocking the sql server 2000 Pin
Xmen Real 17-Feb-08 19:11
professional Xmen Real 17-Feb-08 19:11 
GeneralRe: blocking the sql server 2000 Pin
Christian Graus17-Feb-08 19:24
protectorChristian Graus17-Feb-08 19:24 
GeneralRe: blocking the sql server 2000 Pin
Xmen Real 17-Feb-08 19:29
professional Xmen Real 17-Feb-08 19:29 
GeneralRe: blocking the sql server 2000 Pin
N a v a n e e t h17-Feb-08 21:54
N a v a n e e t h17-Feb-08 21:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.