Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Keyboard language indicator extension plugin

  1. #11
    Maximum Bitrate tolisn's Avatar
    Join Date
    Dec 2003
    Location
    Greece
    Posts
    731
    Thank you for all your time. I really appreciate it. I can code just enough to use what you have just provided. Thank you again
    The road is long but we are getting there.

  2. #12
    Constant Bitrate
    Join Date
    Nov 2004
    Location
    France
    Posts
    189
    Go D6 Name thread and see last post of yesterday about VOSK : virtual Keyboard that use Windows'one with transparency so his configuration is the same your real keybord.

  3. #13
    Maximum Bitrate tolisn's Avatar
    Join Date
    Dec 2003
    Location
    Greece
    Posts
    731
    I tried out the code and it works great. I’m having a problem when I compile the code and make an .exe file. When I run the code from within VB everything goes OK but when I run the compiled file, the code does not do what it is supposed to do.

    In brief, the program checks for the keyboard language. If it is Greek, it will copy a file from a source directory to a destination directory. If the keyboard language is not Greek it will erase the file in the destination directory. When the code is executed from within VB it does the above. When it is executed from the compiled file it does not. What am I doing wrong ?
    Attached Files Attached Files
    The road is long but we are getting there.

  4. #14
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,814
    Try c:\ instead of c:/ on the paths.. other than that, if it still doesn't work, remove exit_prog from form load and see if it works (should show a window then).
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  5. #15
    Maximum Bitrate tolisn's Avatar
    Join Date
    Dec 2003
    Location
    Greece
    Posts
    731
    I tried both of your suggestion Guino both still nothing

    When I run the .exe I can see the keyboard language change to English, even if it was set to Greek. Why is it doing that? The program runs fine in VB. It does not change the keyboard language and does what it is suppose to do.
    The road is long but we are getting there.

  6. #16
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,814
    Ohh... so it's a different issue..

    Windows launches applications on a "default" language, so that's likely the reason it's "switching to english" (truly your app is just starting in english). To prevent that from happening, you'd have to prevent from running the application and add the code into the application currently running.

    I'm unsure what you're trying to do, but if you tell me, maybe I can help you with it.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  7. #17
    Variable Bitrate Evolution VIII's Avatar
    Join Date
    Dec 2005
    Location
    Miami-Florida-USA
    Posts
    342
    Quote Originally Posted by tolisn View Post
    I tried out the code and it works great. I’m having a problem when I compile the code and make an .exe file. When I run the code from within VB everything goes OK but when I run the compiled file, the code does not do what it is supposed to do.

    In brief, the program checks for the keyboard language. If it is Greek, it will copy a file from a source directory to a destination directory. If the keyboard language is not Greek it will erase the file in the destination directory. When the code is executed from within VB it does the above. When it is executed from the compiled file it does not. What am I doing wrong ?
    No need for a form. try this
    Attached Files Attached Files

  8. #18
    Maximum Bitrate tolisn's Avatar
    Join Date
    Dec 2003
    Location
    Greece
    Posts
    731
    Quote Originally Posted by guino View Post
    Ohh... so it's a different issue..

    Windows launches applications on a "default" language, so that's likely the reason it's "switching to english" (truly your app is just starting in english). To prevent that from happening, you'd have to prevent from running the application and add the code into the application currently running.

    I'm unsure what you're trying to do, but if you tell me, maybe I can help you with it.

    @Guino. I'm trying to use the RR command EXISTS so I can set the state of an indicator depending on the language of the keyboard.

    The code that (even the one in the last post) EVO posted works Great when called from within VB. If you run the .exe then it changes the language of the keyboard to English and due to this fact does not copy the file to the directory ( it's supposed to copy a file to a directory when the keyboard language is Greek) so I can check it with the EXIST command. Any ideas?

    @EVO. Your last code does the same. It's perfect when executed from within VB but does not work when excuted through the compiled .exe (because the keyboard language is always changed to English.
    The road is long but we are getting there.

  9. #19
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,814
    Try this extension plugin.. look at the TXT for the new codes.

    I'm hoping that executing the API call from the same process as RR's it will display the status as it is set in RR.

    Let me know how that works,
    Guino.
    Attached Files Attached Files
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  10. #20
    Maximum Bitrate tolisn's Avatar
    Join Date
    Dec 2003
    Location
    Greece
    Posts
    731
    Wizard Guino to the rescue. Thanks a million Guino. It works GREAT.

    Thank you all for your support.
    The road is long but we are getting there.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Replies: 44
    Last Post: 05-22-2009, 01:51 PM
  2. RR 03-12-05 .. Keyboard Support ...
    By guino in forum Road Runner
    Replies: 26
    Last Post: 03-15-2005, 01:48 AM
  3. Replies: 10
    Last Post: 02-13-2005, 07:28 PM
  4. Winamp LCD display plugin / IRMan plugin - together?
    By Jarrod in forum Software & Software Development
    Replies: 9
    Last Post: 06-03-2002, 05:39 AM
  5. Keyboard Plugin for Winamp
    By Kevin in forum Software & Software Development
    Replies: 6
    Last Post: 08-21-2000, 09:43 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •