Click here to Skip to main content
15,923,006 members
Home / Discussions / C#
   

C#

 
AnswerRe: help with version control Pin
Christian Graus21-Sep-05 12:09
protectorChristian Graus21-Sep-05 12:09 
AnswerRe: help with version control Pin
Nick Parker21-Sep-05 17:32
protectorNick Parker21-Sep-05 17:32 
QuestionHow do i read HTML files into a string like .txt files. Pin
Red_Wizard_Shot_The_Food21-Sep-05 11:06
Red_Wizard_Shot_The_Food21-Sep-05 11:06 
AnswerRe: How do i read HTML files into a string like .txt files. Pin
Peter Molnar21-Sep-05 14:14
Peter Molnar21-Sep-05 14:14 
Questionavoid an application closing when calculations are in progress? Pin
bouli21-Sep-05 9:19
bouli21-Sep-05 9:19 
AnswerRe: avoid an application closing when calculations are in progress? Pin
eggie521-Sep-05 9:56
eggie521-Sep-05 9:56 
AnswerRe: avoid an application closing when calculations are in progress? Pin
Peter Molnar21-Sep-05 14:33
Peter Molnar21-Sep-05 14:33 
Questioncalculating Time Interval in C# Pin
majidbhutta21-Sep-05 8:50
majidbhutta21-Sep-05 8:50 
AnswerRe: calculating Time Interval in C# Pin
Dan Neely21-Sep-05 9:01
Dan Neely21-Sep-05 9:01 
QuestionContextMenu Pin
PHDENG8121-Sep-05 8:31
PHDENG8121-Sep-05 8:31 
AnswerRe: ContextMenu Pin
Wjousts21-Sep-05 9:42
Wjousts21-Sep-05 9:42 
QuestionEncoding Problem Pin
Meysam Mahfouzi21-Sep-05 8:13
Meysam Mahfouzi21-Sep-05 8:13 
AnswerRe: Encoding Problem Pin
David Stone21-Sep-05 10:55
sitebuilderDavid Stone21-Sep-05 10:55 
GeneralRe: Encoding Problem Pin
Meysam Mahfouzi21-Sep-05 18:27
Meysam Mahfouzi21-Sep-05 18:27 
Questionconfusion with datatable sorting/finding Pin
melanieab21-Sep-05 7:49
melanieab21-Sep-05 7:49 
AnswerRe: confusion with datatable sorting/finding Pin
Wjousts21-Sep-05 9:52
Wjousts21-Sep-05 9:52 
GeneralRe: confusion with datatable sorting/finding Pin
melanieab21-Sep-05 10:23
melanieab21-Sep-05 10:23 
QuestionHelp! C#/ASP.NET/Dreamweaver Pin
Cpen21-Sep-05 7:29
Cpen21-Sep-05 7:29 
QuestionChange Font for DataGrid Column Pin
zaboboa21-Sep-05 6:27
zaboboa21-Sep-05 6:27 
AnswerRe: Change Font for DataGrid Column Pin
deep721-Sep-05 19:30
deep721-Sep-05 19:30 
GeneralRe: Change Font for DataGrid Column Pin
zaboboa22-Sep-05 2:56
zaboboa22-Sep-05 2:56 
QuestionUpdate MySQL databases Pin
Ming Luo21-Sep-05 6:19
Ming Luo21-Sep-05 6:19 
QuestionEditable tab page title Pin
MotherNuBBeR21-Sep-05 6:06
MotherNuBBeR21-Sep-05 6:06 
AnswerRe: Editable tab page title Pin
Dario Solera21-Sep-05 6:25
Dario Solera21-Sep-05 6:25 
QuestionHow to read text from the interface of another application? Pin
AndyH7021-Sep-05 5:38
AndyH7021-Sep-05 5:38 
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.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.