Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change Regional Locale
Message
De
07/06/2004 21:11:05
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
How to change Regional Locale
Divers
Thread ID:
00910980
Message ID:
00910980
Vues:
54
Hi all,

We have an application that uses Excel automation. Everything works fine, until we ran it under a French (France) locale. The program ran properly when we switch the locale to English (US) in the Windows Control Panel.

Using Windows API, how do I change the Regional LocaleID and revert it back. There are two functions: GetLocaleInfo and SetLocaleInfo in Kernel32.dll that I think are the proper functions. However, I don't know how to convert the functions for use with VFP. I hope somebody can show me how.

Thanks.
ramil
~~ learning to stand still
Répondre
Fil
Voir

Click here to load this message in the networking platform