Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Registry Value for System Locale in Vista

Posted on 2008-10-11
4
Medium Priority
?
1,806 Views
Last Modified: 2012-05-05
Under Control Panel
 | Clock Language
 | Regional and Language Options
 | Administrative Tab
 |  Change System Locale ...

Where in the registry is this value stored?

HKCU/Control Panel/International/Locale is not the place, I have the machine set to Korean but this key still reflects 0409 for English.

Also, can I change this value programmatically? VB6?
0
Comment
Question by:xardozcom
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 4

Accepted Solution

by:
MikeSel earned 1500 total points
ID: 22696996
Hello

There's some code available over at http://vbnet.mvps.org/index.html?code/locale/setlocaleinfo.htm

Which may well do the trick, I think it's based around changing System Long and Short Date Formats however, looking at the procedures, I am sure you should be able to use this..?
0
 

Author Comment

by:xardozcom
ID: 22698116
Not really, this has to do with date formatting.

The setting I am looking for affects how the OS (Vista) handles non-unicode programs.
0
 

Author Comment

by:xardozcom
ID: 22698283
MSDN
This link showed me how to set the value.

This code will open the control panel to the setting I need to detect.

But how do I detect it through programming?
Call Shell("rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,2", vbNormalFocus)

Open in new window

0
 

Author Comment

by:xardozcom
ID: 22698334
To detect the value, use GetLocaleInfo
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

722 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