Reputation: 249
Using C# in Visual Studio 2008, is there a way for one application to send out a message, and for the other program to do something in the event of that message? Say, a button click in one app causes the other app listening to perform code that puts a word in a textbox or something.
Upvotes: 1
Views: 2668
Reputation: 127543
Yes, the basic concept for what you want to do is called Inter Process Communication or IPC. There are many ways to do it depending on your needs.
In C# there is also a abstraction layer you can use over several IPC methods called Windows Communication Foundation or WCF. This allows you to make function calls just like you would any other class but the function executes on the remote machine instead of the local machine. This is very much like the old IPC method called Remoteing or RPC but WCF has replaced that technology.
Upvotes: 2