Click here to Skip to main content
15,914,225 members
Home / Discussions / C#
   

C#

 
AnswerRe: CD Drive monitor Pin
Eduard Keilholz13-Nov-06 21:44
Eduard Keilholz13-Nov-06 21:44 
QuestionResoution Compatible Project Pin
freshonlineMax12-Nov-06 22:24
freshonlineMax12-Nov-06 22:24 
AnswerRe: Resoution Compatible Project Pin
Christian Graus12-Nov-06 23:13
protectorChristian Graus12-Nov-06 23:13 
GeneralRe: Resoution Compatible Project Pin
freshonlineMax14-Nov-06 3:09
freshonlineMax14-Nov-06 3:09 
QuestionValidation - Numeric and Special Characters Pin
Deepasubramanian12-Nov-06 21:51
Deepasubramanian12-Nov-06 21:51 
AnswerRe: Validation - Numeric and Special Characters Pin
freshonlineMax12-Nov-06 22:35
freshonlineMax12-Nov-06 22:35 
AnswerRe: Validation - Numeric and Special Characters Pin
stancrm12-Nov-06 22:37
stancrm12-Nov-06 22:37 
AnswerRe: Validation - Numeric and Special Characters Pin
Christian Graus12-Nov-06 23:15
protectorChristian Graus12-Nov-06 23:15 
The correct code is

   e.Handled = ! (Char.IsNumeric(e.KeyChar) || Char.IsControl(e.KeyChar));


If you want to allow a numeric range, it gets trickier, you need to work out the selectionarea of the text, and replace it with the keychar, then work out if it's in the range, to decide if you want to reject the keypress.



QuestionI need to know Crystal Report Version Pin
M Riaz Bashir12-Nov-06 21:09
M Riaz Bashir12-Nov-06 21:09 
AnswerRe: I need to know Crystal Report Version Pin
spy7712-Nov-06 21:45
spy7712-Nov-06 21:45 
GeneralRe: I need to know Crystal Report Version Pin
M Riaz Bashir12-Nov-06 22:25
M Riaz Bashir12-Nov-06 22:25 
QuestionAdd button column to ListView Pin
freshonlineMax12-Nov-06 20:03
freshonlineMax12-Nov-06 20:03 
AnswerRe: Add button column to ListView Pin
Christian Graus12-Nov-06 21:45
protectorChristian Graus12-Nov-06 21:45 
AnswerRe: How to compile Pin
Christian Graus12-Nov-06 20:03
protectorChristian Graus12-Nov-06 20:03 
GeneralRe: How to compile Pin
Friend4u12-Nov-06 20:16
Friend4u12-Nov-06 20:16 
GeneralRe: How to compile Pin
Christian Graus12-Nov-06 21:44
protectorChristian Graus12-Nov-06 21:44 
Questiondocumintaion in visual studio 2005 in HTML Pin
barak16048712-Nov-06 19:43
barak16048712-Nov-06 19:43 
AnswerRe: documintaion in visual studio 2005 in HTML Pin
Alexandr Kovshovik12-Nov-06 20:29
Alexandr Kovshovik12-Nov-06 20:29 
Questionsetting autoscroll=true in MDI Pin
saqib8212-Nov-06 19:24
saqib8212-Nov-06 19:24 
AnswerRe: setting autoscroll=true in MDI Pin
rah_sin12-Nov-06 19:47
professionalrah_sin12-Nov-06 19:47 
QuestionGIOS License Question Pin
Support12312-Nov-06 19:15
Support12312-Nov-06 19:15 
QuestionExcel - Subquerys Pin
shopi3012-Nov-06 17:16
shopi3012-Nov-06 17:16 
GeneralRe: Excel - Subquerys Pin
George L. Jackson12-Nov-06 18:38
George L. Jackson12-Nov-06 18:38 
QuestionHow can I print Barcode with no page? Pin
winrun12-Nov-06 16:47
winrun12-Nov-06 16:47 
AnswerRe: How can I print Barcode with no page? Pin
Christian Graus12-Nov-06 16:48
protectorChristian Graus12-Nov-06 16:48 

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.