By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,333 Members | 1,047 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,333 IT Pros & Developers. It's quick & easy.

Determining Measurement Units

P: n/a
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

Nov 20 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
>
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/de...e_concepts.asp

I hope this helps?

Cor
Nov 20 '05 #2

P: n/a
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

On 19/7/04 7:27 PM, in article uU*************@TK2MSFTNGP10.phx.gbl, "Cor
Ligthert" <no**********@planet.nl> wrote:

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/de.../cptutorials/h
tml/common_resource_concepts.asp

I hope this helps?

Cor


Nov 20 '05 #3

P: n/a
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

"Chris Mahoney" <ch***@nzweb.net> wrote in message
news:BD21D648.332%ch***@nzweb.net...
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

On 19/7/04 7:27 PM, in article uU*************@TK2MSFTNGP10.phx.gbl, "Cor
Ligthert" <no**********@planet.nl> wrote:

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/de.../cptutorials/h tml/common_resource_concepts.asp

I hope this helps?

Cor

Nov 20 '05 #4

P: n/a
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/...en_driving.cfm
Cor
Nov 20 '05 #5

P: n/a
Hi Terry,

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

:-)

Cor
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/...en_driving.cfm
Cor

Nov 20 '05 #6

P: n/a
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

"Chris Mahoney" <ch***@nzweb.net> wrote in message
news:BD21D648.332%ch***@nzweb.net...
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

On 19/7/04 7:27 PM, in article uU*************@TK2MSFTNGP10.phx.gbl, "Cor
Ligthert" <no**********@planet.nl> wrote:

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/de.../cptutorials/h tml/common_resource_concepts.asp

I hope this helps?

Cor

Nov 20 '05 #7

P: n/a
guy
Miles are true metric:-
1000 paces with each Roman soldiers foot :-)
thats 2000 in total:-)

guy
"The Grim Reaper" wrote:
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

"Chris Mahoney" <ch***@nzweb.net> wrote in message
news:BD21D648.332%ch***@nzweb.net...
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

On 19/7/04 7:27 PM, in article uU*************@TK2MSFTNGP10.phx.gbl, "Cor
Ligthert" <no**********@planet.nl> wrote:
>
> 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/de.../cptutorials/h tml/common_resource_concepts.asp

I hope this helps?

Cor


Nov 20 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.