Changing the default input Language in VB
I'm using VB6. I have made an application which accepts two input languages. However some textboxes must accept only ENGLISH text. Now the question is :
How to change the language back to (English) once the user tries to type anything in the text box . . .?
Thank you all
Re: Changing the default input Language in VB
Welcome to the forums :)
I have no idea :) How are you changing the input language? Is it a different script? If not then there's no need to mess with the language. Just treat the text box input differently depending on which language it's supposed to be.
Re: Changing the default input Language in VB
Thanks
What I meant is that if I have two languages installed on the PC, I don't want to use the language bar to switch between langauges nor I want to use CTRL+SHIFT , I just want the textboxes to change automatically once the textbox gets the focus.
I have been searching on the net for days I couldn't find a single topic about this issue! :ehh:
Re: Changing the default input Language in VB
A Microsoft quotation from HERE
An application cannot change the user UI language. There is no API to set this value. However, with Windows MUI a user can change the user UI language through the Languages tab of the Control Panel item Regional and Language Options.
But having said that it seems incredible that this is so difficult since it can be done with alt-rightshift. Feeding keystrokes to the OS and checking the result perhaps?
Re: Changing the default input Language in VB
Thank you penagate
Thanks BrianHawley that was helpful :wave: