The

The

  • NA
  • 1
  • 0

How to get Text From TextBox in other Application

Jan 18 2008 3:55 AM
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)