Executing a procedure remotely

R

RD

Small LAN, one computer one I have a VB.net program running, prog1. One
computer two, I have another Vb.net program running, Prog2.

In prog2 on computer 2 I need to be able to issue a command ,associated with
a parameter (in a button click event) that will cause the execution of a
function or sub to which the parameter will be passed in prog1 on computer
1.

Can anyone point me to sample code on how to do this. We're running on
Windows 2000 workstations and Windows XP pro workstations.

Thanks for any help,

Bob
 
J

Jerry

This is called .NET Remoting. Normally there is a physical boundry between
processes which prohibit one process from accessing the resources of another
process whether it is on the same machine or another. .NET remoting
provides proxies which allow processes to interact with one another.
Remoting is an advanced subject and it took me a week of intense study
before I understood how to use it. I still only understand about 40% of it.
My suggestion is to Google ".NET Remoting" and go down the same road I did.
Unfortunately every situation is different and you will need to choose the
configuration which best fits your situation. Good Luck. I needed a half a
bottle of Ibuprophen before I got mine to work. Maybe you will find it more
easily.

Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top