views:

222

answers:

0

Following the instructions in http://anoriginalidea.wordpress.com/2007/08/09/simple-inter-process-communication-in-vbnet/ word for word, I somehow keep stumbling across an error:

Exception has been thrown by the target of an invocation.

This error is thrown whenever my client program (a winforms app) tries to call the "SaySomething" method.

Is there an easy way to fix this, or even better, an easier way to communicate between running programs than this? I'm getting quite frustrated, you'd think they'd have added a simple wrapper for this in the .net API.

I'm almost tearing my hair out over this, it would be much easier for me to use TCP than to do this.

Thanks for the help...