>>>>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.
Fred Lauckner
You know, it works on my computer. I don't know what your problem is.
.Net aint so bad.