Link to home
Start Free TrialLog in
Avatar of Darwin Johnson
Darwin JohnsonFlag for United States of America

asked on

Using vb.net to read and write text from one application to another.

Is there a way in vb.net to read the text from another applications text box? Then write text to another applications text box. I want to run my application and populate a text box in my application with text from another applications text box when my application gets focus.
I then want to populate another applications text box from my application when an accept button is pressed.
Is it possible to get the handle of a window if I know the windows title bar text?
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

Yes, that isn't a big problem, I can fairly easily click the mouse onto another app from mine, copy the text and paste it to aanother apps window.   (in other words the user determines which app/textboxs).


The however is how will you determine which app and which text box?  

Can you rephrase your question, please. You should especially explain, how much automation vs. user interaction should be involved.
ASKER CERTIFIED SOLUTION
Avatar of Chinmay Patel
Chinmay Patel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial