HighTechTalks DotNet Forums  

Reading text from another application

ASP.net ASP.net discussions (microsoft.public.dotnet.framework.aspnet)


Discuss Reading text from another application in the ASP.net forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
zool
 
Posts: n/a

Default Reading text from another application - 12-28-2007 , 10:34 AM






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

Reply With Quote
  #2  
Old   
siddhath
 
Posts: n/a

Default RE: Reading text from another application - 12-28-2007 , 12:29 PM






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:

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


Reply With Quote
  #3  
Old   
 
Posts: n/a

Default Re: Reading text from another application - 12-28-2007 , 12:38 PM



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" <hzool22 (AT) gmail (DOT) com> wrote

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


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.