Results 1 to 11 of 11

Thread: KeyBoard Language

  1. #1

    Thread Starter
    Addicted Member Tiovital's Avatar
    Join Date
    Apr 2000
    Posts
    249
    Hi,

    How can i change the Keyboard Language from a Program? (from the keyboard is the Alt+Shift).
    Regards

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Send the Alt+Shift keys.

    http://forums.vb-world.net/showthrea...threadid=22694 might help a bit.
    Gl,
    D!m
    Dim

  3. #3

    Thread Starter
    Addicted Member Tiovital's Avatar
    Join Date
    Apr 2000
    Posts
    249
    Hi,
    I try - SendKeys "+(%)"
    It is not Work!!! Any Idea?

    Regards

  4. #4
    Hyperactive Member theman32x's Avatar
    Join Date
    May 2000
    Location
    New Jersey, USA
    Posts
    305
    try - SendKeys "(%)+"

  5. #5

    Thread Starter
    Addicted Member Tiovital's Avatar
    Join Date
    Apr 2000
    Posts
    249
    Hi,
    Well folks - it is not Work (yet)...
    I just like to change the keyboard lenguage by pressing ALT+SHIFT? PLEASE.......

    Regards

  6. #6

    Thread Starter
    Addicted Member Tiovital's Avatar
    Join Date
    Apr 2000
    Posts
    249
    Well Folks??????

  7. #7
    Hyperactive Member theman32x's Avatar
    Join Date
    May 2000
    Location
    New Jersey, USA
    Posts
    305
    try -

    SendKeys "%(+)" ...

    sendkeys "%(vbKeyShift)" ...

    sendkeys "%{vbKeyShift}" ...


  8. #8

    Thread Starter
    Addicted Member Tiovital's Avatar
    Join Date
    Apr 2000
    Posts
    249
    Hi,
    Well, Sorry But still its not woek - May be its cos its something like "ALT+CTRL+SHIFT" and it is not work in the Windows framework? I dont know how to switch the language within progrm, any one from the Gurus know how???

    Best Regards

  9. #9

    Thread Starter
    Addicted Member Tiovital's Avatar
    Join Date
    Apr 2000
    Posts
    249
    Btw,
    The SendKeys execute in the Form Level - What i need is something in the WINDOWS level.
    Regards

  10. #10
    New Member
    Join Date
    Jul 1999
    Location
    HKSAR
    Posts
    9
    try using Windows API...

    I doubt that sendkeys really sends the "control" and "alt" keys unless you have a key to go with it...
    [i]Sidney
    My email : [email protected]
    [i]

  11. #11

    Thread Starter
    Addicted Member Tiovital's Avatar
    Join Date
    Apr 2000
    Posts
    249
    I know that there is 2 API

    2 API r:

    retval = SystemParametersInfo(SPI_GETDEFAULTINPUTLANG, ByVal 0, 0, 0)
    retval = SystemParametersInfo(SPI_SETDEFAULTINPUTLANG, ByVal 0, 0, SPIF_SENDWININICHANGE)


    I dont Know How To Use It.......any body know how?

    Thanks



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