Results 1 to 2 of 2

Thread: Keyboard press?

  1. #1

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

    Question Keyboard press?

    How do I save the key pressed(globally) into a txt file?

    I want to save it so that I can read it from the txt file and verify whether to proceed another function or not.

    By Global I mean you know, record all key presses in or out of the app(while app running).

    I have done this before, but unfortunately, I lost my codes in a hdd crash.

    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
    I wrote some code to block all keypresses, but you should be able to work out how to modify it so that it will save the keypresses easily..

    http://www.vbforums.com/showthread.p...tWindowsHookEx

    For the saving part do a Search on this forum.

    If you need more help let me know
    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