Results 1 to 12 of 12

Thread: Record key strokes

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2006
    Posts
    17

    Record key strokes

    Dear friends,

    I wish to store all key strokes in a word file once I log in. How can I do this in VB? Please help

    Thanks in Advance

  2. #2
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Record key strokes

    You mean, using the VBA Editor in Word...????

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  3. #3
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: Record key strokes

    Witing a Keylogger will probably not be supported here.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Nov 2006
    Posts
    17

    Re: Record key strokes

    Quote Originally Posted by akhileshbc View Post
    You mean, using the VBA Editor in Word...????
    Dear Akhilesh,

    Thanks for the interest taken. My problem is..........

    Once I log in, my VB file should start working and keep a watch of all keys pressed and record them in any file for later use.

    Hope you will come up with a solution.....of course I will rate you the best.

    Thanks

    UKNair

  5. #5
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Record key strokes

    Why do you want to do that?

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Nov 2006
    Posts
    17

    Re: Record key strokes

    Quote Originally Posted by si_the_geek View Post
    Why do you want to do that?
    Thanks for the interest taken. I need to do it to keep a watch on my friends playing with my files in my absence......

  7. #7
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Record key strokes

    Why are you allowing him the access to your files if you don't trust him? Till the time you come up with a very good reason (which I am yet to see in VBF for keyloggers) I don't think you will get an answer to your query....
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  8. #8
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Record key strokes

    And a keylogger won't prevent anything. Use User Accounts to prevent unwanted access or NTFS permissions.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  9. #9
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Record key strokes

    Indeed.. with a keylogger your friend will be able to view/edit/delete all of your files, and it won't do anything at all to stop them - or return your files to how they were.

    The proper way to do this is as LaVolpe mentioned, which is to set up a different Windows login, and either get your friend to log in using it, or use it yourself to store your documents in a different (protected) folder.


    There are very few cases where a keylogger is a valid solution to a problem, and this is definitely not one of them.

  10. #10
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    280

    Re: Record key strokes

    Said this in post one

    I wish to store all key strokes in a word file once I log in. How can I do this in VB? Please help
    Said this in post six

    Thanks for the interest taken. I need to do it to keep a watch on my friends playing with my files in my absence......
    This one needs to be dumped. Get rid of it for the benefit of everyone.
    Slower than a crippled Vista
    More buggy than a fresh XP install
    Look! Down the road, some 50 miles behind the drunken snail.
    It's Ubuntu!

  11. #11
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Record key strokes

    The method needs to be dumped, because it is no way a valid solution to the issue.

    A far superior (and easier, and less risky) solution has been put forward, and we will help uknair do that (or another suitable alternative) if needed.

  12. #12

    Thread Starter
    Junior Member
    Join Date
    Nov 2006
    Posts
    17

    Re: Record key strokes

    Dear Friends,

    Thanks for all the discussion and the replies. I too think the solution is to use protected folders. This problem hence is dumped....

    Once again thanks to one and all who gave valuable suggestions.

    U.K.Nair

Tags for this Thread

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