By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,641 Members | 1,446 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,641 IT Pros & Developers. It's quick & easy.

Executing a procedure remotely

P: n/a
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


Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

"RD" <no****@nospam.net> wrote in message
news:O2**************@TK2MSFTNGP09.phx.gbl...
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

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.