Click here to Skip to main content
15,902,938 members
Home / Discussions / C#
   

C#

 
AnswerRe: Get values from ListBox Pin
zeeShan anSari2-Nov-08 3:36
zeeShan anSari2-Nov-08 3:36 
GeneralRe: Get values from ListBox Pin
Guffa2-Nov-08 10:19
Guffa2-Nov-08 10:19 
QuestionHow to use DFS algorithm for maze ? Pin
sitnet1-Nov-08 22:54
sitnet1-Nov-08 22:54 
AnswerRe: How to use DFS algorithm for maze ? Pin
Pedram Behroozi1-Nov-08 23:48
Pedram Behroozi1-Nov-08 23:48 
AnswerRe: How to use DFS algorithm for maze ? Pin
Meer Osman Ali2-Nov-08 3:13
Meer Osman Ali2-Nov-08 3:13 
GeneralRe: How to use DFS algorithm for maze ? Pin
Pete O'Hanlon2-Nov-08 10:32
mvePete O'Hanlon2-Nov-08 10:32 
AnswerRe: How to use DFS algorithm for maze ? Pin
Mark Churchill2-Nov-08 14:32
Mark Churchill2-Nov-08 14:32 
QuestionHow to grab text from another windows application in c# ? Pin
parinya21-Nov-08 19:40
parinya21-Nov-08 19:40 
Hi everyone, I'm developing an application that has a full control on another windows application.

Let me tell you about my story. I have an windows application(lets say "App A") which is very difficult for blind users because its GUI is so bad that the blind cannot use it even though they have a screen reader , but I cannot modify it at all since I don't have the source code of App A. So I decided to develop another windows application in C#(lets say "App B") which is easier to use. App B's task is only to get inputs from a user and then send those inputs to App A for processing. You may wonder why I have to send inputs to App A, why doesn't App B do everything by itself. The reason is that App B isn't able to do the main process as App A can since I don't have App A's code so I don't know how to do the main process.

Now I can send many commands by App B to App A via "SetForegroundWindow" and "SendKey" method, so I can order to click any button in App A or fill any textbox in App A and so on. But the problem is that I don't know how to grab the outputs which App A returned(all outputs are just text).

My current solution is to send "Ctrl C" to grab the output texts of App A and then use "Clipboard" to bring them into App B, but I think there must be a better solution than using "Ctrl C" and "clipboard". I had searched for the better solution, then I found many applications that can grab all the texts in any windows application. Unfortunately, they are for sale not for free, but I don't want to buy them, I want to grab text in another application by myself.

So, does anyone know how to grab texts which are displayed on another windows application ?
Please tell me, thank you very much.
AnswerRe: How to grab text from another windows application in c# ? Pin
User 66581-Nov-08 23:02
User 66581-Nov-08 23:02 
GeneralRe: How to grab text from another windows application in c# ? Pin
parinya23-Nov-08 3:08
parinya23-Nov-08 3:08 
GeneralRe: How to grab text from another windows application in c# ? Pin
User 66583-Nov-08 5:59
User 66583-Nov-08 5:59 
QuestionaxWebBrowser focus issue Pin
arbrsoft1-Nov-08 19:28
arbrsoft1-Nov-08 19:28 
AnswerRe: axWebBrowser focus issue Pin
jas0n234-Nov-08 0:39
jas0n234-Nov-08 0:39 
QuestionPublish as Standalone Pin
jas0n231-Nov-08 17:07
jas0n231-Nov-08 17:07 
AnswerRe: Publish as Standalone Pin
That Asian Guy1-Nov-08 18:43
That Asian Guy1-Nov-08 18:43 
GeneralRe: Publish as Standalone Pin
Guffa2-Nov-08 3:31
Guffa2-Nov-08 3:31 
AnswerRe: Publish as Standalone Pin
jas0n231-Nov-08 18:52
jas0n231-Nov-08 18:52 
QuestionMissingMethodException Pin
Not Active1-Nov-08 16:21
mentorNot Active1-Nov-08 16:21 
GeneralRe: MissingMethodException Pin
Luc Pattyn1-Nov-08 16:57
sitebuilderLuc Pattyn1-Nov-08 16:57 
GeneralRe: MissingMethodException Pin
Not Active1-Nov-08 17:32
mentorNot Active1-Nov-08 17:32 
QuestionHow to hook a global PASTE EVENT? Pin
dactivo1-Nov-08 13:13
dactivo1-Nov-08 13:13 
AnswerRe: How to hook a global PASTE EVENT? Pin
DaveyM692-Nov-08 9:48
professionalDaveyM692-Nov-08 9:48 
GeneralRe: How to hook a global PASTE EVENT? Pin
dactivo5-Nov-08 1:58
dactivo5-Nov-08 1:58 
GeneralRe: How to hook a global PASTE EVENT? Pin
DaveyM695-Nov-08 7:13
professionalDaveyM695-Nov-08 7:13 
GeneralRe: How to hook a global PASTE EVENT? Pin
dactivo7-Nov-08 19:58
dactivo7-Nov-08 19:58 

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.