Reading text from another application

Reading text from another application

am 28.12.2007 16:34:32 von zool

Hi
Can somebody please tell me how I can read text from another running
application.
From a textbox in that application for example

RE: Reading text from another application

am 28.12.2007 18:29:01 von siddhath

one way would be to get handle to the active window i.e that you are trying
to read from and then iterate over it's objct model.

check shellwindow() .. it has some limitations.

"zool" wrote:

> Hi
> Can somebody please tell me how I can read text from another running
> application.
> From a textbox in that application for example
>

Re: Reading text from another application

am 28.12.2007 18:38:02 von l.holota

Hi,

you can read other web pages using a simple HttpRequest and read returned
HTML code, or if the applications are on the same server and in the same
application pool, you can read any file using System.IO namespace, or you
meant something else?

Regards,

Lukas Holota

"zool" wrote in message
news:bab967ec-e949-4e79-b8d7-a30d6a6dc15b@f3g2000hsg.googleg roups.com...
> Hi
> Can somebody please tell me how I can read text from another running
> application.
> From a textbox in that application for example