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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

shell command

  • 28-08-2003 9:19pm
    #1
    Registered Users, Registered Users 2 Posts: 2,587 ✭✭✭


    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, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 2,587 ✭✭✭gerire


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

    and another is used to shut it down

    any ideas


  • Registered Users, Registered Users 2 Posts: 2,587 ✭✭✭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