Input string was not in correct format.
- by jawahar-sync
Hi Experts,
I had a Ribbon like custom control. I created an application using this control. These applications work fine until I change the system number format. They crashes if I change the system number format like below:
Current Format = English (United State)
Decimal symbol = ','
Digit group symbol = '.'
When I run applications, they throw an exception "Input string not in Correct format". .
Some other applications specify the Exception's message = "Input string '0,2,0,2' was not a correct format", so I think in Wpf ES's xaml files, we may declare some properties i.e Padding, Margin like "0,2,0,2" = that will cause errors with the system number format above.
I have note that this error only occurs in Windows Vista, it does not occurs on Windows XP. I do not know why?
I have also look at this link, But it not helps for Vista.
http://support.microsoft.com/kb/968227/en-us