Jump to content
Sign in to follow this  
Myicq

Change system locale using GUI ?

Recommended Posts

Myicq

Referring to an older thread in which> system locale change was discussed using command line, I am wondering if this is possible using GUIs ? My ideal would be that operator would choose a language from a dropdown, click "apply", restart - and be done.

This is for a legacy software in an industrial controller - the software does not know Unicode and can only work on system locale level. PC Builders find it difficult to change using control panel.

PC is to be built using Win7, so perhaps a combination could be solution / only way: create XML using GUI, then call DLLs as needed.

Edited by Myicq

I am just a hobby programmer, and nothing great to publish right now.

Share this post


Link to post
Share on other sites
Danyfirex

Hi.

You can use Run or ShellExecute to Run that Command.

 

I mean something like this:

Run ("rundll32.exe shell32, Control_RunDLL intl.cpl,,/f:" & '"c:\locale.txt"')

ShellExecute("rundll32.exe","shell32, Control_RunDLL intl.cpl,,/f:" & '"c:\locale.txt"')

So can have the languages to choose in a combobox.

Saludos

Edited by Danyfirex

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.