Solved

Registry Value for System Locale in Vista

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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.

705 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

16 Experts available now in Live!

Get 1:1 Help Now