469,612 Members | 2,246 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,612 developers. It's quick & easy.

how to obtain "Measurement System" from "Regional Options"


Hello,
i've tried to obtain this data but i didn't found it.
The only thing i found is the "IsMetric" property in
RegionInfo.CurrentRegion, but it doesn't show me the
current setting.

Thank you

José Flores
..
Nov 22 '05 #1
2 1868
That should be sufficient. See how Platform SDK defines related setting:

LOCALE_IMEASURE
System of measurement. This value is 0 if the metric system (Système
International d'Unités, or S.I.) is used, and 1 if the U.S. system is used.
The maximum number of characters allowed for this string is two.

You can try to search MSDN for this topic and related ones.

HTH
Alex
"José Flores" <jf*****@discussions.microsoft.com> wrote in message
news:12****************************@phx.gbl...

Hello,
i've tried to obtain this data but i didn't found it.
The only thing i found is the "IsMetric" property in
RegionInfo.CurrentRegion, but it doesn't show me the
current setting.

Thank you

José Flores
..

Nov 22 '05 #2
That should be sufficient. See how Platform SDK defines related setting:

LOCALE_IMEASURE
System of measurement. This value is 0 if the metric system (Système
International d'Unités, or S.I.) is used, and 1 if the U.S. system is used.
The maximum number of characters allowed for this string is two.

You can try to search MSDN for this topic and related ones.

HTH
Alex
"José Flores" <jf*****@discussions.microsoft.com> wrote in message
news:12****************************@phx.gbl...

Hello,
i've tried to obtain this data but i didn't found it.
The only thing i found is the "IsMetric" property in
RegionInfo.CurrentRegion, but it doesn't show me the
current setting.

Thank you

José Flores
..

Nov 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by alex | last post: by
11 posts views Thread by sweety | last post: by
8 posts views Thread by Henrik | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.