EDN Admin
Well-known member
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
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