1
Answer

How to get Text From TextBox in other Application

The

The

17y
3.8k
1
Hi,

I need to read out a TextBox from another application and depending an it, press some buttons in the other application.

I have no idea how to do that, is it possible to get control over another application?

If anybody has an idea (maybe with some code snippets, because I'm new to .NET C#) please help.

Thanks

---------
I now have the handle from processlist to the Window, but i cannot get the Control.

Control myRemoteApplication;
myRemoteApplication = FromHandle(handle);

does not work, its always null...but i works if the handle is from the own application
Answers (1)