Solved

SetLocaleInfo  API function

Posted on 2001-08-16
2
2,354 Views
Last Modified: 2007-11-27
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
Comment
Question by:BrainStorm
2 Comments
 
LVL 49

Accepted Solution

by:
Ryan Chong earned 50 total points
ID: 6391859
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
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6393293
Hearing...
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now