Jump to content

Change system locale using GUI ?


Myicq
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...