VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

GetRegionalSetting

Brad Skidmore  (4 Submissions)   Windows API Call/Explanation   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

If you need to know what the Users Regional Settings are, This is a good Function / API combination I have made.
Get stuff like Decimal Separator, Day of the Week, or Month of the Year. This function will return Region Specific data.
EX. if your Regional setting is set to Spanish Monday will be Lunes
EX if your settings is set to German then the decimal separator will be a "," instead of a ".".

Inputs
You need to input a long which represents which settings you want (I have defined the most frequently used, but there are more)

Returns
Returns a String len < 100

Side Effects
NA

Rate GetRegionalSetting (2(2 Vote))
GetRegionalSetting.bas

GetRegionalSetting Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters