472,374 Members | 1,290 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,374 software developers and data experts.

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 1954
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: José Flores | last post by:
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...
2
by: microsoft | last post by:
When I create a instance of web services proxy in winform, I get the exception. Stack Trace: System.ArgumentException: Item has already been added. Key in dictionary:"winbootdir" Key being...
18
by: Atara | last post by:
In my apllication I use the following code: '-- My Code: Public Shared Function strDate2Date(ByVal strDate As String) As System.DateTime Dim isOk As Boolean = False If (strDate Is Nothing)...
2
by: alex | last post by:
I need to set a directory with hidden and/or system attribute from my c# code. Similar to what is c:\RECYCLER folder set to in WinXP. So it is not visible to a user with default "Folder Options". ...
0
by: Marc Gravell | last post by:
(re-posted from microsoft.public.dotnet.framework.windowsforms due to lack of response) If I have a click-once deployed app, I can get the version via: if...
11
by: sweety | last post by:
Hi, The charecter/symbol " ® " writen in a file able to get only in that system. When the file opened in other system, not able to see that charecter, insted its viewd as " ? ". So, the special...
8
by: Henrik | last post by:
Hi Is there any way to see what the System process is doing? We have developed an application running at a production site to measure and optimize the production. The application needs to be...
6
by: =?Utf-8?B?Wm9vZG9y?= | last post by:
I have a ClickOnce application that uses web services. This works from every machine we can test it on; however, a customer has a laptop that fails with an exception (relevant portion of stack...
3
by: Sugandh Jain | last post by:
Hi, I am using property like this.. private DateTime? _propName; public DateTime? PropName { get { return _propName; }
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.