How to change input method Language by invoke code

My organization can not use ChangeLanguage Package,Can I use Invoke code to Achieve this feature, I try VBnet,C#,But invoke code doesn’t seem to work with Windows API, Send hokey or click to Change it is unstable。

You’re right — Invoke Code activitiy in UiPath have some limitations when it comes to calling Windows API functions directly, especially for system-level changes like language or input methods. Since Change Language isn’t available in your environment, one reliable workaround is to use PowerShell scripts or command-line utilities triggered from UiPath (via Start Process or Invoke PowerShell) to switch the input language.

Sending hotkeys or clicks can work in a pinch but, as you mentioned, they’re not stable. If possible, try managing language settings through system commands or registry updates — it’s much more consistent than UI automation.