Locales & Regionalization
Callbacks, enumeration, hooks and subclassing are for VB5/VB6 only.
Updated Monday December 26, 2011
   
Category
Topic
Calendar
vb6
vb5
vb4-32
GetLocaleInfo: System Calendar Information
Use Enumeration callbacks to retrieve the month and days specific to the users locale. Aug 08.1999


Country
vb6
vb5
vb4-32
GetLocaleInfo: Regional Locale Country Settings
Obtaining system-specific settings for country information to assure international compliance. Mar 20.2000

GetGeoInfo: Obtaining Country List by Enumerating GeoIDs
Enumerate the GeoIDs available on the system and return a list of corresponding countries. Aug 15.2004

GetGeoInfo: Determine Geographic Country Info by GeoID
Retrieve information about specified locations such as official name, friendly name, lat and long, abbreviations. Aug 15.2004



Currency
vb6
vb5
vb4-32
GetLocaleInfo: Regional Locale Currency Settings
Obtaining system-specific settings for currency settings to assure international compliance. Mar 20.2000


Dates
vb6
vb5
vb4-32
SetLocaleInfo: Change System Long and Short Date Formats
Now assure that systems always have the desired short and long date formats set. Aug 08.1999

WM_TIMECHANGE: Detect System Changes to the Date/Time
Subclass a form to receive date/time change notifications, or notify other windows that it has changed. June 8.1999

RegQueryValueEx: Identify Time Zones by Time Zone Bias
How to retrieve time zone names from the registry, and locate a zone based on the time zone bias. Jul 08.2002

EnumDateFormats: Regional Locale Date Settings
Code to enumerate, via callbacks, the available locale time strings. May 16.1999

EnumTimeFormats: Regional Locale Time Settings
Code to enumerate, via callbacks, the available locale time strings. May 16.1999

GetLocaleInfo: Regional Locale Date Settings
Obtain the national language locale settings for the user to retrieve strings representing times, dates, and other information to assure international compliance. May 15.1999



Keyboard
vb6
vb5
vb4-32
GetKeyboardLayout: Obtain the Keyboard Locale Identifier
Code to return the LCID and keyboard layout language information.  May 21.2000


Locales
vb6
vb5
vb4-32
EnumSystemLocales: Enumerate Installed and Supported System Locales
Retrieve the codepage language names and abbreviations using the EnumSystemLocales callback. Nov 09.1999


Numbers
vb6
vb5
vb4-32
GetLocaleInfo: Regional Locale Numeric Settings
Obtaining system-specific settings for numeric values to assure international compliance. Mar 20.2000


Time and Time Zones
vb6
vb5
vb4-32
GetTimeZoneInformation: Determine when Daylight Saving Time Occurs
Two wrapper functions returning the current time zone info. Apr 08, 2001

GetTimeZoneInformation: Current, Standard and Daylight Bias
Five functions dealing with the bias (offset from GMT) for the system. Apr 08, 2001

GetTimeZoneInformation: Locale Standard and Daylight Time Zone Names
Two functions to return the names for the local daylight and standard zones. Apr 08, 2001

RegQueryValueEx: Identify Time Zones by Time Zone Bias
How to retrieve time zone names from the registry, and locate a zone based on the time zone bias. Jul 08.2002

GetTimeZoneInformation: Obtain Dates for Daylight and Standard Time Changes
Four functions returning various date and time information concerning the transition from Standard to Daylight Savings Time. April 08, 2001

GetTimeZoneInformation: Past, Current and Future Daylight/Standard Dates
Code to retrieve historical and forecasted dates for standard time / daylight saving time changes. Nov 10.2001

EnumTimeFormats: Regional Locale Time Settings
Code to enumerate, via callbacks, the available locale time strings. May 16.1999



 

 
 

PayPal Link
Make payments with PayPal - it's fast, free and secure!

 
 
 
 

Copyright ©1996-2011 VBnet and Randy Birch. All Rights Reserved.
Terms of Use  |  Your Privacy

 

Hit Counter