Can anyone tell me how to pass the text contained in a TextBox in one project to the TextBox in another project? I tried the linkmode,topic,item....etc, but still no luck making the two applications join data.
Printable View
Can anyone tell me how to pass the text contained in a TextBox in one project to the TextBox in another project? I tried the linkmode,topic,item....etc, but still no luck making the two applications join data.
There are two ways to do this:
When you launch the program put in the text into the command line as an arrument.
or
Copy & Paste! :D
Please let me know if this helps. :)
------------------
Website
You could put the text from the one into an ini file and have the other read the ini file and put it in you project2 text box or you could use registry and do the same thing. This shouldn't be hard i could figure it out for you if you want and umm the registry is easier then the ini. Well Hopes this helps and if you need help email me with the Subject as "Info From One project to another" so i don't end up deleting it byaccident thanks!!
use the SendMessage API