Results 1 to 5 of 5

Thread: Changing the default input Language in VB

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Posts
    150

    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

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Posts
    150

    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!

  4. #4
    Fanatic Member BrianHawley's Avatar
    Join Date
    Aug 2001
    Location
    Saudi Arabia
    Posts
    796

    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)

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Aug 2005
    Posts
    150

    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
  •  



Click Here to Expand Forum to Full Width