A
Andy
Hi,
I want to write a C# windows application that reads some text from the
interface of another (separate) application, and am looking for a few ideas
as to where to start.
Specifically, I would appreciate some help with the following questions:
1) What is the best way to determine how the information I want is held in
the other application?
2) What will probably be the best way to access the information I want.
For question 1, I suspect that the information I want it is in the
equivalent of a label control, but am not sure. It could be a graphic object
of some sort...
For question 2, I am guessing that I will need to use some Win 32 APIs to
get a handle to the window I want, and then perhaps start capturing messages
on it? (That of course assumes that the text I want to capture is neatly
displayed in an object that can be accessed via its handle, however that
might not be the case!)
Thanks in advance.
I want to write a C# windows application that reads some text from the
interface of another (separate) application, and am looking for a few ideas
as to where to start.
Specifically, I would appreciate some help with the following questions:
1) What is the best way to determine how the information I want is held in
the other application?
2) What will probably be the best way to access the information I want.
For question 1, I suspect that the information I want it is in the
equivalent of a label control, but am not sure. It could be a graphic object
of some sort...
For question 2, I am guessing that I will need to use some Win 32 APIs to
get a handle to the window I want, and then perhaps start capturing messages
on it? (That of course assumes that the text I want to capture is neatly
displayed in an object that can be accessed via its handle, however that
might not be the case!)
Thanks in advance.