Click here to Skip to main content
15,894,405 members
Home / Discussions / C#
   

C#

 
AnswerRe: Packing a class into a byte array - would [Serializable] do the trick? [modified] Pin
AikinX8-Jun-07 20:43
AikinX8-Jun-07 20:43 
GeneralRe: Packing a class into a byte array - would [Serializable] do the trick? Pin
AikinX8-Jun-07 23:50
AikinX8-Jun-07 23:50 
GeneralRe: Packing a class into a byte array - would [Serializable] do the trick? Pin
Dewald10-Jun-07 23:09
Dewald10-Jun-07 23:09 
GeneralRe: Packing a class into a byte array - would [Serializable] do the trick? Pin
AikinX11-Jun-07 0:15
AikinX11-Jun-07 0:15 
QuestionNmericUpDown - set the Value outside the range. HELP!!! Pin
julgri8-Jun-07 1:40
julgri8-Jun-07 1:40 
AnswerRe: NmericUpDown - set the Value outside the range. HELP!!! Pin
Guffa8-Jun-07 1:46
Guffa8-Jun-07 1:46 
GeneralRe: NmericUpDown - set the Value outside the range. HELP!!! Pin
julgri8-Jun-07 6:42
julgri8-Jun-07 6:42 
GeneralRe: NmericUpDown - set the Value outside the range. HELP!!! Pin
Dave Kreskowiak8-Jun-07 6:47
mveDave Kreskowiak8-Jun-07 6:47 
Nope. There's no way to get the value outside the bounds, unless you increase. the Max bound.

You'd have to create your own version of the control to get any additional functionality.

So, say you ARE successful at getting the value outside the bounds. Why 30? What is supposed to happen when the user types a value into the text box? What if he/she clicks on the Up and Down buttons? If the value supposed to shoot down into the valid range?

If you need some kind of flag denoted by the value 30, why not just replace that with a checkbox? If the box is checked, the numeric control gets disabled and a flag is set. If not, the numeric is re-enabled and the flag is reset.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: NmericUpDown - set the Value outside the range. HELP!!! Pin
julgri8-Jun-07 6:56
julgri8-Jun-07 6:56 
GeneralRe: NmericUpDown - set the Value outside the range. HELP!!! Pin
Dave Kreskowiak8-Jun-07 10:08
mveDave Kreskowiak8-Jun-07 10:08 
GeneralRe: NmericUpDown - set the Value outside the range. HELP!!! Pin
julgri8-Jun-07 6:49
julgri8-Jun-07 6:49 
GeneralRe: NmericUpDown - set the Value outside the range. HELP!!! Pin
Dave Kreskowiak8-Jun-07 6:54
mveDave Kreskowiak8-Jun-07 6:54 
GeneralRe: NmericUpDown - set the Value outside the range. HELP!!! Pin
julgri8-Jun-07 7:03
julgri8-Jun-07 7:03 
GeneralRe: NmericUpDown - set the Value outside the range. HELP!!! Pin
Dave Kreskowiak8-Jun-07 10:07
mveDave Kreskowiak8-Jun-07 10:07 
AnswerRe: NmericUpDown - set the Value outside the range. HELP!!! Pin
AikinX9-Jun-07 0:06
AikinX9-Jun-07 0:06 
QuestionString to Byte Array Conversion Pin
M. J. Jaya Chitra8-Jun-07 1:28
M. J. Jaya Chitra8-Jun-07 1:28 
AnswerRe: String to Byte Array Conversion Pin
kristmun8-Jun-07 1:37
kristmun8-Jun-07 1:37 
AnswerRe: String to Byte Array Conversion Pin
Sathesh Sakthivel8-Jun-07 1:37
Sathesh Sakthivel8-Jun-07 1:37 
GeneralRe: String to Byte Array Conversion Thank you Pin
M. J. Jaya Chitra8-Jun-07 1:46
M. J. Jaya Chitra8-Jun-07 1:46 
GeneralRe: String to Byte Array Conversion Thank you Pin
Sathesh Sakthivel8-Jun-07 1:55
Sathesh Sakthivel8-Jun-07 1:55 
GeneralRe: String to Byte Array Conversion Pin
Guffa8-Jun-07 1:49
Guffa8-Jun-07 1:49 
GeneralRe: String to Byte Array Conversion Pin
Sathesh Sakthivel8-Jun-07 1:56
Sathesh Sakthivel8-Jun-07 1:56 
Questiongetting substring from a string Pin
Ankit Aneja8-Jun-07 1:18
Ankit Aneja8-Jun-07 1:18 
AnswerRe: getting substring from a string Pin
leppie8-Jun-07 1:20
leppie8-Jun-07 1:20 
AnswerRe: getting substring from a string Pin
Manas Bhardwaj8-Jun-07 1:32
professionalManas Bhardwaj8-Jun-07 1:32 

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.