Click here to Skip to main content
15,922,630 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Question8bit encoding Pin
nameoraliasfornoob27-Aug-05 21:07
nameoraliasfornoob27-Aug-05 21:07 
QuestionUse of .Net remoting for client server architecture Pin
dashik25-Aug-05 7:23
dashik25-Aug-05 7:23 
AnswerRe: Use of .Net remoting for client server architecture Pin
Achintya Jha30-Aug-05 7:06
Achintya Jha30-Aug-05 7:06 
GeneralRe: Use of .Net remoting for client server architecture Pin
dashik30-Aug-05 7:34
dashik30-Aug-05 7:34 
QuestionHide form Pin
Anonymous25-Aug-05 1:21
Anonymous25-Aug-05 1:21 
AnswerRe: Hide form Pin
Dave Kreskowiak25-Aug-05 7:15
mveDave Kreskowiak25-Aug-05 7:15 
QuestionLocalization for edit EditorZone Pin
Anonymous25-Aug-05 0:37
Anonymous25-Aug-05 0:37 
GeneralNumericUpDown Problem Pin
wjr-itt24-Aug-05 12:17
wjr-itt24-Aug-05 12:17 
Try this simple test:

Drop a NumericUpDown control (nud1) and a Button (b1) on a form. Make sure that nud1.DecimalPlaces is set to 0. In the Click handler of b1, display the value of nud1 by doing MessgeBox.Show(nud1.Value.ToString()). Run the application and type 4.513 in nud1 and click b1. The MessageBox will display 4.513 as the value, but nud1 will contain 5. Now click the up arrow of nud1 and then click b1. The MessageBox will now display 5.513 and nud1 will contain 6. If you type a new value, say 17, into nud1, the decimal places will go away. The same type of problem shows up if you set nud1.DecimalPlaces to 3 and type 7.12345 in nud1 (the extra decimal places hang around).

You can get around this by using the NumericUpDown.Text property (it always gives the correct value). However, studio does not show this property in the properties window and it does not appear when performing a ‘code complete’ when typing. The Text property is an overridden property of UpDownBase.

This appears to be a big problem since all of the msdn examples for NumericUpDown use the Value property to retrieve the value of a NumericUpDown. Does anyone have any comments/opinion?

Thanks …

wjr@itt WTF | :WTF:

GeneralRe: NumericUpDown Problem Pin
wjr-itt25-Aug-05 4:01
wjr-itt25-Aug-05 4:01 
GeneralConverting bitmaps to stdole picture Pin
gorp12324-Aug-05 9:33
gorp12324-Aug-05 9:33 
GeneralOut of memory unhandled exception Pin
Silberztein23-Aug-05 14:37
Silberztein23-Aug-05 14:37 
GeneralRe: Out of memory unhandled exception Pin
Steve Pullan23-Aug-05 14:54
Steve Pullan23-Aug-05 14:54 
GeneralRe: Out of memory unhandled exception Pin
Silberztein23-Aug-05 17:24
Silberztein23-Aug-05 17:24 
GeneralRe: Out of memory unhandled exception Pin
Steve Pullan23-Aug-05 18:27
Steve Pullan23-Aug-05 18:27 
GeneralRe: Out of memory unhandled exception Pin
Silberztein24-Aug-05 7:51
Silberztein24-Aug-05 7:51 
GeneralRe: Out of memory unhandled exception Pin
Dave Kreskowiak23-Aug-05 14:58
mveDave Kreskowiak23-Aug-05 14:58 
GeneralRe: Out of memory unhandled exception Pin
Silberztein23-Aug-05 15:19
Silberztein23-Aug-05 15:19 
GeneralRe: Out of memory unhandled exception Pin
Steve Pullan23-Aug-05 15:31
Steve Pullan23-Aug-05 15:31 
GeneralRe: Out of memory unhandled exception Pin
Dave Kreskowiak24-Aug-05 6:10
mveDave Kreskowiak24-Aug-05 6:10 
GeneralRe: Out of memory unhandled exception Pin
Silberztein24-Aug-05 8:00
Silberztein24-Aug-05 8:00 
GeneralRe: Out of memory unhandled exception Pin
Dave Kreskowiak24-Aug-05 11:22
mveDave Kreskowiak24-Aug-05 11:22 
GeneralRe: Out of memory unhandled exception Pin
Silberztein24-Aug-05 7:57
Silberztein24-Aug-05 7:57 
GeneralSystem.Diagonastics.Process.GetProcesses throws error if the user does not have admin rights. Pin
manivannan.p23-Aug-05 5:16
manivannan.p23-Aug-05 5:16 
GeneralRe: System.Diagonastics.Process.GetProcesses throws error if the user does not have admin rights. Pin
Dave Kreskowiak24-Aug-05 6:11
mveDave Kreskowiak24-Aug-05 6:11 
GeneralOffice Programming: Insert or Merge Password Protected Documents in a Word Add-in Pin
tartancli22-Aug-05 4:14
tartancli22-Aug-05 4:14 

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.