Results 1 to 2 of 2

Thread: Keys

  1. #1

    Thread Starter
    Fanatic Member prog_tom's Avatar
    Join Date
    May 2001
    Location
    Los Angeles and Little Rock
    Posts
    810

    Talking Keys

    How do you create a Win32 App that launches "Notepad" when the key "N" and "Y" are been pressed either at the same time or subsequently in an orderly order?

    And be able to record how many times the keys are been pressed onto a file in C:\?

    prog_tom
    JOIN THE REVOLUTION!!!! Dual T3 backedup science community.
    http://physics.sviesoft.com/forum

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    For the launching use
    ShellExecute (look it up @ msdn)

    for capturing keys check this thread, look at my reply:
    http://www.vbforums.com/showthread.p...hreadid=227490

    for writing to a file:
    http://www.vbforums.com/showthread.p...hreadid=228460

    with this info you can figure it out... if you can't, I can help you tomorrow
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

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