Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Read every single keyboard press? [solved]

Read every single keyboard press? [solved]

Scheduled Pinned Locked Moved C#
comhelpquestion
16 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Midnight Ahri

    It's like keylogger but I only want to know how many times they pressed the keyboard each day. I'm doing it in windows form. I'd love to have some help or at least what to type in google. :) Edit : Thank's to this[^] article. :laugh:

    A Offline
    A Offline
    Abhinav S
    wrote on last edited by
    #7

    Handling the forms keydown event would give you a count of key strokes within the application.

    WP Apps - Color Search | Arctic | XKCD | Sound Meter | Speed Dial

    M 1 Reply Last reply
    0
    • M Midnight Ahri

      I'm going to join this keylogging into my chatting application so my friend chat less and work much more. They'll be able to know how many letters they typed in a day. Is that a bad idea? I've searched everywhere in google and tried in new project but still can't. You can see my history of question, I ask when I don't know what to do. :)

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #8

      Soooo...how are you going to tell the difference between them working and screwing around?? Hint: You can't.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak

      1 Reply Last reply
      0
      • A Abhinav S

        Handling the forms keydown event would give you a count of key strokes within the application.

        WP Apps - Color Search | Arctic | XKCD | Sound Meter | Speed Dial

        M Offline
        M Offline
        Midnight Ahri
        wrote on last edited by
        #9

        Who ask you about difference between working and screwing around? I only want to know how to hook keyboard press in a windows form even after it's minimized or not focused. Look, I managed to solve my own problem. I ask here nicely to get some help so I can finish this faster. This is what I called (solution) even it's not what I want, I appreciate it.

        Abhinav S wrote:

        Handling the forms keydown event would give you a count of key strokes within the application.

        Dave, I believe you know how to do this. But I don't know why everytime you respond my question, always something weird like your question above. I tried to learn, not "gimme code to hook keyboard press please thank you email me bla bla". Next time if you're not going to give me some help, then please find another question to answer.

        1 Reply Last reply
        0
        • M Midnight Ahri

          It's only for 3 of my friend. This is to make them enjoy working. Please read again my subject, every single keyboard press. Well if you don't know how to then thank you for your time. :) Edit : Oh ya, something like this[^] does exist. I'm so interested to learn this, you can try learn it too. :) Edit : I managed to create what I wanted from that article. Nothing is impossible if you think it's possible and you keep trying bro ! :laugh:

          P Offline
          P Offline
          pt1401
          wrote on last edited by
          #10

          > It's only for 3 of my friend. > This is to make them enjoy working. Smacks of "the floggings will continue until morale improves". I think you may soon have 3 fewer friends if you go ahead with this. You can't make people enjoy working, but it's easy to make them not enjoy working...

          M 1 Reply Last reply
          0
          • P pt1401

            > It's only for 3 of my friend. > This is to make them enjoy working. Smacks of "the floggings will continue until morale improves". I think you may soon have 3 fewer friends if you go ahead with this. You can't make people enjoy working, but it's easy to make them not enjoy working...

            M Offline
            M Offline
            Midnight Ahri
            wrote on last edited by
            #11

            Do you know anything about me? Hint : Nothing

            P 1 Reply Last reply
            0
            • M Midnight Ahri

              Do you know anything about me? Hint : Nothing

              P Offline
              P Offline
              pt1401
              wrote on last edited by
              #12

              I never claimed to, but I'm learning things about you quickly. You go ahead - I'm sure your 'friends' will enjoy their work much more knowing their keystrokes are being logged.

              M 1 Reply Last reply
              0
              • P pt1401

                I never claimed to, but I'm learning things about you quickly. You go ahead - I'm sure your 'friends' will enjoy their work much more knowing their keystrokes are being logged.

                M Offline
                M Offline
                Midnight Ahri
                wrote on last edited by
                #13

                You should've told me about this earlier. I'm a programmer in this company and nothing much to do. I won't and not going to do something useless for them if they didn't ask. This application is what they want, not me. I'm angry because I can't fullfill what they want. Sorry for misunderstanding. :( Oh ya, I didn't log their key, I only count how many times they typed.

                1 Reply Last reply
                0
                • M Midnight Ahri

                  I'm going to join this keylogging into my chatting application so my friend chat less and work much more. They'll be able to know how many letters they typed in a day. Is that a bad idea? I've searched everywhere in google and tried in new project but still can't. You can see my history of question, I ask when I don't know what to do. :)

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #14

                  Midnight Ahri wrote:

                  Is that a bad idea?

                  Yes. You'll need to inform the victim that he/she is being monitored, otherwise you're in a heap o' legal trouble. Second, it's bad advertisement; I would never work for someone who does not trust me. That's non-negotiable, there's no "working together" without trust.

                  Midnight Ahri wrote:

                  I'm going to join this keylogging into my chatting application so my friend chat less and work much more.

                  What you consider "idle chatting" might be valuable research my friend.

                  Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]

                  J 1 Reply Last reply
                  0
                  • L Lost User

                    Midnight Ahri wrote:

                    Is that a bad idea?

                    Yes. You'll need to inform the victim that he/she is being monitored, otherwise you're in a heap o' legal trouble. Second, it's bad advertisement; I would never work for someone who does not trust me. That's non-negotiable, there's no "working together" without trust.

                    Midnight Ahri wrote:

                    I'm going to join this keylogging into my chatting application so my friend chat less and work much more.

                    What you consider "idle chatting" might be valuable research my friend.

                    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]

                    J Offline
                    J Offline
                    jschell
                    wrote on last edited by
                    #15

                    Eddy Vluggen wrote:

                    You'll need to inform the victim that he/she is being monitored, otherwise you're in a heap o' legal trouble

                    That depends on the context.

                    L 1 Reply Last reply
                    0
                    • J jschell

                      Eddy Vluggen wrote:

                      You'll need to inform the victim that he/she is being monitored, otherwise you're in a heap o' legal trouble

                      That depends on the context.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #16

                      Location, possibly; but the Dutch aren't the only ones with strict privacy-laws. No monitoring here without consent.

                      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups