Determining Measurement Units

  • Thread starter Thread starter Chris Mahoney
  • Start date Start date
C

Chris Mahoney

Hi

Is it possible for a VB 2003 app to determine the appropriate measurement
units for the user's location? For example, I would like to make my app
default to using miles if the user is in the UK, but instead use kilometres
for NZ. Or is this type of information not stored in Windows' regional
settings?

Thanks
Chris
 
Is it possible for a VB 2003 app to determine the appropriate measurement
units for the user's location? For example, I would like to make my app
default to using miles if the user is in the UK, but instead use kilometres
for NZ. Or is this type of information not stored in Windows' regional
settings?

Miles in the UK is that not only for old cars?

That old car feature is as far as I know not in the local settings.

:-)

Have a look at globalization I thought it was in there (I am not sure but
have a look yourself)

Maybe this is a nice starting point to start with it
http://msdn.microsoft.com/library/d...cptutorials/html/common_resource_concepts.asp

I hope this helps?

Cor
 
Apparently they still use miles there, as I learned a few months ago. I was
amazed because they seem to use metric for everything else!

Chris
 
Yes we do use miles. So does America and so does Sweden ( although a swedish
mile is longer )

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
Hi Terry,
Yes we do use miles. So does America and so does Sweden ( although a swedish
mile is longer )

I see now that it is on the road even for modern cars still miles as you
said in the UK.

Are you sure of that miles in Sweden, the driving at the right side of the
road as well already for a long time in Sweden, see this chart

http://www.home.zonnet.nl/c.kampfraath/speedseu.htm

or this one to be sure it is UK

http://www.auto-europe.co.uk/guides/Sweden/Sweden_driving.cfm


Cor
 
Hi Terry,

Before you read the message before as not intended, I was not doubt after
your message about the UK.

:-)

Cor
 
We still use miles because our government is too tight to change all the
signs in the country...
(and it's hard enough to teach children what a mile is, let alone how to
convert between the two).
For a small-ish island country, we do have an incredibly stupidly high
amount of roads and road signs!!
______________________________
The Grim Reaper
 
Back
Top