Solved

Registry Value for System Locale in Vista

Posted on 2008-10-11
4
1,800 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
  • 3
4 Comments
 
LVL 4

Accepted Solution

by:
MikeSel earned 500 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

929 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

11 Experts available now in Live!

Get 1:1 Help Now