Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to write Arabic language in a textfield with out using ALT+SHIFT KEYS using vb6.In short to change the keyboard layout
Posted

If your application changes the keyboard layout, you are going to annoy your users big time.

I would strongly suggest that you find another solution to your problem: if any app changed my layout without asking, it would be deleted with extreme prejudice, and I would take great pleasure in ensuring that the author found out about my displeasure in the most public way I could manage.
 
Share this answer
 
I advice you not to do it. You user knows better when to switch the keyboard layout or input language. Also, why do you thing the key is Alt+Shift? Different options are available to the user.

If you really want to do this ugly thing, I know the only one way: to use Windows API SendInput. It simulates keyboard or mouse input on low-level; see http://msdn.microsoft.com/en-us/library/ms646310(v=vs.85).aspx[^].

Don't do it.

—SA
 
Share this answer
 
As above, plus if the user needs an Arabic keyboard give them a virtual one, there are plenty of plug-in ones available[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900