Someone Help Me In Vb6.0: Sending Numpad Enter Key To Dos Application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • net2knot
    New Member
    • Feb 2008
    • 11

    Someone Help Me In Vb6.0: Sending Numpad Enter Key To Dos Application

    want to send numpad enter to a dos application.
    i used sendkeys but none of the use.
    i tried a module but it sends the standard enter key rather than numpad enter key, since standard enter key and numpad enter key share same ascii value.
    but the dos application reacts to numpad enter key.
    please help me...i need an urgent solution of this problem.
    i am a novice programmer
  • !NoItAll
    Contributor
    • May 2006
    • 297

    #2
    Others may chime in with a solution but I think you are out of luck with VB. Distinguishing between the regular Enter and NumPad Enter requires a much lower level interface than VB is designed for. You would have to trap the keystrokes at the device driver level - and that is certainly not something VB is capable of without ninja-level programming skills.
    Sorry to be so dour.
    Here is a link you can investigate - but, like I said, it requires some ninja level skills:

    There still appears to be too many tasks that are commending people to obtain some control over the keyboard. Hopefully, unlike the plethora of web sites


    I think - however, this will only let you read the keys, but sendkeys will not work with any of the values this returns....

    Comment

    Working...