Results 1 to 3 of 3

Thread: Couple of things needed - Catching keys and reading the registry.

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    36
    I need some help-

    1) Is there any way of catching keys (like the keypress event) but catch them when the program isn't the active window (like a key logger).

    2) Read info from the registry e.g HKEY_LOCAL_MACHINE/network/user

    THANX

  2. #2
    Lively Member
    Join Date
    Dec 1999
    Posts
    106
    There are a few examples on the planet source code site, here's, just do a search for key log. Here's two links to get started....

    http://www.planetsourcecode.com/vb/s...txtCodeId=6536

    http://www.planetsourcecode.com/vb/s...txtCodeId=6671

  3. #3
    Addicted Member
    Join Date
    Jan 2000
    Location
    Oshkosh, WI
    Posts
    163
    For reading the registry you might want to try the regobj class library on Microsoft's Visual Studio website, it allows you to access the entire registry as an object tree.

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