Communicating between applications
Posted on 1998-11-20
Here's my problem:
I need some form of communication between 2 different running VB programs. For example, I may run a method in Prog1 to send a message "Testing 123" to Prog2. And in Prog2, an event will probably be triggered, and the sent message can be read. The message passed between the two programs may be a string or even 2 or 3 strings.
How should I go about doing this? Please point me in the right direction.
Perhaps this behavior is appropriate to be made into a OCX. That is, the control will take care of the messaging, the 2 programs just need to add this control. If so, I believe the 'communication' part of the problem would still remain the same.
Maybe such a ocx already exists, but I would still like to know how to achieve this.