Click here to Skip to main content
15,867,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am new to Dot Net need your help.

I have two applications (say A & B). I want to send the content of textbox (from application A) to textbox (from application B) on button click.

i.e
if i enter "hello World" in the textbox of application A and press the button I want "hello World" in the textbox of application B
Posted

1 solution

This is not a simple matter. You need to use one of the Win32 Enumerate[^] functions to find the top level Window. Then you need another function to find the child window that is the correct textbox. Only then can you set its text property. Alternatively you could use a socket connection between the two applications.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900