Solved

Registry Value for System Locale in Vista

Posted on 2008-10-11
4
1,804 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 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Suggested Courses

624 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