2。使用API代码
Dim Buffer As String * 100
Dim lngLocale As Long
Dim GetLanguage As String
lngLocale = GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_ILZERO, Buffer, 99)
GetLanguage = LPSTRToVBString(Buffer)
If GetLanguage = 0 Then SetLocaleInfo lngLocale, LOCALE_ILZERO, 1