|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
how to obtain regional settingsIs there a way in the .NET framework to determine Windows Regional Settings?
Items like Dimensions (CM or Inches), decimal symbol, digit grouping symbol, time formats, date formats, etc. I've done some digging, but come up empty. Thanks OK, I found it in System.Globalizaion (duh!):
NumberFormatInfo.NumberDecimalSeparator, for the decimal symbol NumberFormatInfo.NumberGroupSeparator, for the digit grouping symbol RegionInfo.IsMetric, for CM (metric) versus Inches Cheers Show quote "Emby" <e***@blaisesoft-xxx.com> wrote in message news:ecPzmiNwGHA.5024@TK2MSFTNGP04.phx.gbl... > Is there a way in the .NET framework to determine Windows Regional > Settings? Items like Dimensions (CM or Inches), decimal symbol, digit > grouping symbol, time formats, date formats, etc. > > I've done some digging, but come up empty. > > Thanks > |
|||||||||||||||||||||||