Click here to Skip to main content
15,897,226 members
Home / Discussions / C#
   

C#

 
GeneralDoubt in Phil Wright's TabControl Pin
Archana19772-Aug-04 22:14
Archana19772-Aug-04 22:14 
GeneralRe: Doubt in Phil Wright's TabControl Pin
leppie3-Aug-04 1:43
leppie3-Aug-04 1:43 
GeneralRe: Doubt in Phil Wright's TabControl Pin
Archana19773-Aug-04 2:27
Archana19773-Aug-04 2:27 
GeneralRe: Doubt in Phil Wright's TabControl Pin
Nick Parker3-Aug-04 3:29
protectorNick Parker3-Aug-04 3:29 
GeneraldlThread exception handler Pin
LorenzoDV2-Aug-04 22:02
LorenzoDV2-Aug-04 22:02 
GeneralRe: dlThread exception handler Pin
leppie3-Aug-04 1:46
leppie3-Aug-04 1:46 
GeneralAccess is denied Pin
Anonymous2-Aug-04 22:00
Anonymous2-Aug-04 22:00 
GeneralCulture extrange behavior Pin
Jose Vicente2-Aug-04 21:53
Jose Vicente2-Aug-04 21:53 
Hello all.

I have a extrange behavior in my computer.
My regional configuration is Spanish ( Spain ) which means that the local decimal separator is ','.

If I run this code the results are

double d = 5.1;
string s = d.ToString (); //s= "5.1"

which is not the expected result ( it must be "5,1").

I have checked the value of
System.Threading.Thread.CurrentThread.CurrentCulture
and the culture is spanish-spain and the currency decimal separator is ','.

But the most extrang thing is that I have gone to the control panel, I have changed the local configuration to Catalonian, then without close the dialog I have changed another time to Spanish-Spain and after that the previous code works and the double is translated to "5,1".

Anyone have some similar problems ? Is this a bug of the framework. Can anyone help me ? Confused | :confused:

Best regards





Jose Vicente
GeneralRe: Culture extrange behavior Pin
Norman-Timo3-Aug-04 1:20
Norman-Timo3-Aug-04 1:20 
GeneralRe: Culture extrange behavior Pin
Jose Vicente3-Aug-04 3:14
Jose Vicente3-Aug-04 3:14 
QuestionHow to save status of runtime controls? Pin
sachinkalse2-Aug-04 21:24
sachinkalse2-Aug-04 21:24 
AnswerRe: How to save status of runtime controls? Pin
Norman-Timo3-Aug-04 0:52
Norman-Timo3-Aug-04 0:52 
GeneralIdentify max no of child nodes for a node in XML Pin
saud_a_k2-Aug-04 20:49
saud_a_k2-Aug-04 20:49 
GeneralRe: Identify max no of child nodes for a node in XML Pin
Norman-Timo3-Aug-04 1:06
Norman-Timo3-Aug-04 1:06 
GeneralRe: Identify max no of child nodes for a node in XML Pin
saud_a_k3-Aug-04 1:35
saud_a_k3-Aug-04 1:35 
GeneralRe: Identify max no of child nodes for a node in XML Pin
Norman-Timo3-Aug-04 1:54
Norman-Timo3-Aug-04 1:54 
GeneralRe: Identify max no of child nodes for a node in XML Pin
saud_a_k3-Aug-04 2:38
saud_a_k3-Aug-04 2:38 
GeneralRe: Identify max no of child nodes for a node in XML Pin
leppie3-Aug-04 1:52
leppie3-Aug-04 1:52 
GeneralRe: Identify max no of child nodes for a node in XML Pin
saud_a_k3-Aug-04 2:31
saud_a_k3-Aug-04 2:31 
GeneralProblem accessing array of objects Pin
crushinghellhammer2-Aug-04 20:33
crushinghellhammer2-Aug-04 20:33 
GeneralRe: Problem accessing array of objects Pin
misterbear2-Aug-04 23:22
misterbear2-Aug-04 23:22 
GeneralRe: Problem accessing array of objects Pin
Stefan Troschuetz2-Aug-04 23:35
Stefan Troschuetz2-Aug-04 23:35 
QuestionIs there an MMC Snap-in Designer for .NET environment? Pin
zzzhouzhou2-Aug-04 18:34
zzzhouzhou2-Aug-04 18:34 
Generalprobability Pin
Member 7040992-Aug-04 17:39
Member 7040992-Aug-04 17:39 
GeneralRe: probability Pin
SOCM_FP_CPP3-Aug-04 1:28
SOCM_FP_CPP3-Aug-04 1:28 

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.