Change the keyboard input language

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I need to write an application to change the currently active keyboard language of the entire Windows (XP & Vista) session. Is this at all possible?

The best solution Ive come up with so far is to write a batch file
which updates some registry keys, but unfortunately this technique
requires the user to login once again for the settings to be applied. I
would much prefer to write a a C# console application which handles
this.

Note that the following will not affect any other application than the current Windows Forms app:

Windows.Forms.InputLanguage.CurrentInputLanguage = myKeyboardLang;

Thanks
/Billy


View the full article
 
Back
Top