|
-
Aug 26th, 2005, 10:09 PM
#1
Thread Starter
Addicted Member
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
-
Aug 26th, 2005, 11:58 PM
#2
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.
-
Aug 27th, 2005, 04:32 AM
#3
Thread Starter
Addicted Member
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!
-
Aug 28th, 2005, 08:50 AM
#4
Fanatic Member
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?
Brian
(Fighting with the RightToLeft bugs in VS 2005)
-
Aug 30th, 2005, 05:47 AM
#5
Thread Starter
Addicted Member
Re: Changing the default input Language in VB
Thank you penagate
Thanks BrianHawley that was helpful
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|