Solved

Registry Value for System Locale in Vista

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 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