Click here to Skip to main content
15,915,160 members
Home / Discussions / C#
   

C#

 
GeneralRe: windows service Pin
SeMartens26-Aug-10 1:39
SeMartens26-Aug-10 1:39 
GeneralRe: windows service Pin
tomorrow_ft26-Aug-10 1:50
tomorrow_ft26-Aug-10 1:50 
GeneralRe: windows service Pin
SeMartens26-Aug-10 1:54
SeMartens26-Aug-10 1:54 
GeneralRe: windows service Pin
tomorrow_ft26-Aug-10 1:57
tomorrow_ft26-Aug-10 1:57 
GeneralRe: windows service Pin
PIEBALDconsult26-Aug-10 3:15
mvePIEBALDconsult26-Aug-10 3:15 
GeneralRe: windows service Pin
tomorrow_ft30-Aug-10 23:16
tomorrow_ft30-Aug-10 23:16 
GeneralRe: windows service Pin
PIEBALDconsult31-Aug-10 3:12
mvePIEBALDconsult31-Aug-10 3:12 
GeneralRe: windows service Pin
tomorrow_ft31-Aug-10 3:14
tomorrow_ft31-Aug-10 3:14 
GeneralRe: windows service Pin
tomorrow_ft31-Aug-10 3:32
tomorrow_ft31-Aug-10 3:32 
GeneralRe: windows service Pin
PIEBALDconsult31-Aug-10 14:43
mvePIEBALDconsult31-Aug-10 14:43 
GeneralRe: windows service Pin
tomorrow_ft31-Aug-10 19:45
tomorrow_ft31-Aug-10 19:45 
GeneralRe: windows service Pin
PIEBALDconsult1-Sep-10 3:15
mvePIEBALDconsult1-Sep-10 3:15 
GeneralRe: windows service Pin
tomorrow_ft26-Aug-10 1:13
tomorrow_ft26-Aug-10 1:13 
AnswerRe: windows service Pin
Bernhard Hiller26-Aug-10 1:34
Bernhard Hiller26-Aug-10 1:34 
GeneralRe: windows service Pin
tomorrow_ft26-Aug-10 1:37
tomorrow_ft26-Aug-10 1:37 
GeneralRe: windows service Pin
Sunil G31-Aug-10 3:34
Sunil G31-Aug-10 3:34 
GeneralRe: windows service Pin
tomorrow_ft31-Aug-10 3:42
tomorrow_ft31-Aug-10 3:42 
GeneralRe: windows service Pin
Sunil G31-Aug-10 3:44
Sunil G31-Aug-10 3:44 
GeneralRe: windows service Pin
tomorrow_ft31-Aug-10 3:47
tomorrow_ft31-Aug-10 3:47 
Questionvalidation Pin
Ramkumar_S25-Aug-10 21:53
Ramkumar_S25-Aug-10 21:53 
AnswerRe: validation Pin
Blue_Boy25-Aug-10 22:00
Blue_Boy25-Aug-10 22:00 
AnswerRe: validation Pin
Pete O'Hanlon25-Aug-10 22:09
mvePete O'Hanlon25-Aug-10 22:09 
GeneralRe: validation Pin
Ramkumar_S25-Aug-10 22:15
Ramkumar_S25-Aug-10 22:15 
GeneralRe: validation Pin
Pete O'Hanlon25-Aug-10 22:44
mvePete O'Hanlon25-Aug-10 22:44 
GeneralRe: validation Pin
DaveyM6925-Aug-10 23:14
professionalDaveyM6925-Aug-10 23:14 
There is more to it than just trapping key down / key press. What happens if the user pastes an invalid value - possibly using the mouse? What about navigation keys, delete, backspace...

I wrote a NumericTextBox control a while ago. It's not an Integerbox but a TextBox, so it is still a string and doesn't limit the value to Int32.MaxValue etc (and doesn't allow the - character either!) but it may suffice or be a start.

Clickety[^]

Edit: Fixed link
Dave

If this helped, please vote & accept answer!


Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.(Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)

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.