Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change Regional Locale
Message
From
07/06/2004 21:11:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
How to change Regional Locale
Miscellaneous
Thread ID:
00910980
Message ID:
00910980
Views:
53
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
Reply
Map
View

Click here to load this message in the networking platform