Starcraft
February 4th, 2000, 12:51 PM
ok i make 2 exe's. Both of them have just 1 textbox. I want to make it so, when i type something in on one of the programs. It wil appear in the textbox in the other program as well. So I would put it in the textboxes change procedure.
czimmerman
February 4th, 2000, 01:33 PM
There are a number of solutions to the problem of interapplication communication. I have created one on my site that uses the PostMessage API function in the sender, and MessageHooking in the recipient to trap the message. With few modifications, it will work for your purposes.
See http://www.freevbcode.com/ShowCode.ASP?ID=650.
This demo is designed for two applications running on the same machine. If you are going to run on different machines, you will have to look at a solution using the winsock control.