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. Interact with other applications

Interact with other applications

Scheduled Pinned Locked Moved C#
tutorial
7 Posts 4 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.
  • J Offline
    J Offline
    Johan Martensson
    wrote on last edited by
    #1

    If I wanted a way to get the content of a textbox in an open application from my application, where would I start looking. Basically, I want to loop all open windows, loop the components in that window and look for text/password-boxes. I'm guessing it has something to do with EnumWindows, EnumChildWindows, GetClassName and so on but could someone give me a small example to get started.

    http://johanmartensson.se - Home of MPEG4Watcher

    L 1 Reply Last reply
    0
    • J Johan Martensson

      If I wanted a way to get the content of a textbox in an open application from my application, where would I start looking. Basically, I want to loop all open windows, loop the components in that window and look for text/password-boxes. I'm guessing it has something to do with EnumWindows, EnumChildWindows, GetClassName and so on but could someone give me a small example to get started.

      http://johanmartensson.se - Home of MPEG4Watcher

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Johan Martensson wrote:

      look for text/password-boxes.

      so you want to steal passwords eh? Well hopefully no one on this site will help you, black hats are generally not supported here at CodeProject Happy New Year anyway :-D

      CPalliniC J 2 Replies Last reply
      0
      • L led mike

        Johan Martensson wrote:

        look for text/password-boxes.

        so you want to steal passwords eh? Well hopefully no one on this site will help you, black hats are generally not supported here at CodeProject Happy New Year anyway :-D

        CPalliniC Offline
        CPalliniC Offline
        CPallini
        wrote on last edited by
        #3

        led mike wrote:

        so you want to steal passwords eh?

        Oh, no, that was just for debugging purposes: He wants to know if the textbox effectively contains the given password. :-D

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        [my articles]

        In testa che avete, signor di Ceprano?

        M 1 Reply Last reply
        0
        • L led mike

          Johan Martensson wrote:

          look for text/password-boxes.

          so you want to steal passwords eh? Well hopefully no one on this site will help you, black hats are generally not supported here at CodeProject Happy New Year anyway :-D

          J Offline
          J Offline
          Johan Martensson
          wrote on last edited by
          #4

          well, if I wanted to steal passwords there are plenty of free and commercial software I could use to do that, I'm merely interested in the concept of the matter.

          http://johanmartensson.se - Home of MPEG4Watcher

          L 1 Reply Last reply
          0
          • J Johan Martensson

            well, if I wanted to steal passwords there are plenty of free and commercial software I could use to do that, I'm merely interested in the concept of the matter.

            http://johanmartensson.se - Home of MPEG4Watcher

            L Offline
            L Offline
            led mike
            wrote on last edited by
            #5

            Well ok seeing it's a new year and all, see if this helps[^]

            J 1 Reply Last reply
            0
            • L led mike

              Well ok seeing it's a new year and all, see if this helps[^]

              J Offline
              J Offline
              Johan Martensson
              wrote on last edited by
              #6

              Thanks, I will check it out

              http://johanmartensson.se - Home of MPEG4Watcher

              1 Reply Last reply
              0
              • CPalliniC CPallini

                led mike wrote:

                so you want to steal passwords eh?

                Oh, no, that was just for debugging purposes: He wants to know if the textbox effectively contains the given password. :-D

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                [my articles]

                M Offline
                M Offline
                Muammar
                wrote on last edited by
                #7

                :laugh::laugh::laugh:


                Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)

                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