Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find the country name or code.
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00257065
Message ID:
00257112
Views:
22
>>>>>Does anyone know the API call to find out what country Windows is configured for.
>>>>>
>>>>>NT has the information in the registry but WIN95 does not.
>>>>>
>>>>Hi Fred,
>>>>
>>>>Look at SYS(3004) - Get LocaleID. However, it doesn't show the codes. Those you can find in the help file for SYS(3005).
>>>
>>>I was lookin for something a little more granular. I need to see if the app is running on a US or Canadian configured system. I want to default date styles and measurement units based on country.
>>
>>Hi Fred,
>>
>>I don't know if this will help, but the function that comes closest is GetLocalInfo(). It can retrieve a number of things (country codes, language codes, date format, monetary format, etc.). The list is pretty large. Is this what you're looking for?
>
>Thank you. Too much is betterthan not enough.

Hi Fred,

Or as my best friend Grog once put it, "It's better to have more than enough.":-)

This might take me a bit of time to get together. Give me an hour or so and I'll post back (unless someone beats me to it< g >).
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform