How to change the input language of a seperate running program ? (VBNET)

  • 13 years ago

    Hello,

    I am writing an add-on using vbnet/c# that runs inside
    a Sap B1 application.

    I need to be able to change the input language (little blue white icon on the system tray) on certain occasions.

    The add-on is basically an exe that runs in a different thread from the main sap program.

    Using code like:


    System.Threading.Thread.CurrentThread.CurrentCulture = New System.Globalization.CultureInfo("he-il")

    does no do the trick as the thread I need to target is not of the add-on's.


    I have read several articles about the subject and understand that each thread runs its own Culture.

     

    Does anyone how can I change the Culture of a running program other than my own ?

    Thanks in advance.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.”