• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2739
  • Last Modified:

SetLocaleInfo API function

the API function
     
Private Declare Function SetLocaleInfo Lib "kernel32" Alias "SetLocaleInfoA" (ByVal Locale As Long, ByVal LCType As Long, ByVal lpLCData As String) As Long

works fine on windows 98, 2000 but not on NT.

Does anybody know a similar function that works on NT?

0
BrainStorm
Asked:
BrainStorm
1 Solution
 
Ryan ChongCommented:
Hi BrainStorm,

Here is a Example: Changing the System Long and Short Date Formats with SetLocaleInfo
http://www.mvps.org/vbnet/index.html?code/locale/setlocaleinfo.htm

that developed with VB6, Windows NT4 (Same Declaration).

Don't know if is help or not, regards.
0
 
Richie_SimonettiIT OperationsCommented:
Hearing...
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now