Interact with other applications
-
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
-
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
-
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
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] -
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
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
-
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
-
Well ok seeing it's a new year and all, see if this helps[^]
Thanks, I will check it out
http://johanmartensson.se - Home of MPEG4Watcher
-
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]