Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find the country name or code.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00257065
Message ID:
00257109
Vues:
21
>>>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?
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform