Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

shell command

Options
  • 28-08-2003 10:19pm
    #1
    Registered Users Posts: 2,586 ✭✭✭


    Shell "osk.exe", vbNormalFocus

    using the above command to get the on screen keyboard as was advised to me here before. I need this to be closed via a button press, ie 'enter' not the X in the top corner.

    Any ideas?


Comments

  • Registered Users Posts: 1,237 ✭✭✭GUI


    pass the message wm_terminate to osk.exe

    first check with another api call if osk.exe is in memory..


  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    Will your vb application or osk.exe have focus when the key press happens?
    What I mean is:
    A certain key stroke occurs on you're application and it shuts down osk.exe

    or

    A certain key stroke occurs on osk.exe, and you want to intercept it and shut down osk.


  • Registered Users Posts: 2,586 ✭✭✭gerire


    One button is used to open the osk.
    shell "osk.exe"

    and another is used to shut it down

    any ideas


  • Registered Users Posts: 2,586 ✭✭✭gerire


    for those interested the code I used is quite good and I learnt from it definately
    http://www.thescarms.com/vbasic/StopProcess.asp

    Thanks again GUI for your help


Advertisement