Click to See Complete Forum and Search --> : Remote program execute


September 16th, 1999, 01:57 AM
Somebody knows how can I execute a program in a remot machine. I need to start a program remotly on a server and I don't know how
can I do this. Somebody have told me that exist an intruction called REXEC that do this function, it's OK?.

Lothar Haensler
September 16th, 1999, 03:38 AM
yes, there is a REXEC command in NT.
It requires that the REXEC Service is started on the target machine.
You might as well consider DCOM or VB6's new argument to CreateObject which allows you to specify a server name on which to create the object.

mlamelas
December 2nd, 1999, 09:45 PM
Is there a way to have the remote program communicate back to the program that activated it, i.e., return an error back to the activating program.

Also, for VB6 with Windows98, do you have sample code that starts a program running on another computer on the network, passing parameters to it (presumably via the command line). Can you conduct a DDE transaction with a program running on a remote computer. Can you use DDE to start the remote program on the other computer.

Thanks.

Mel Lamelas

March 22nd, 2000, 03:22 PM
You say REXEC Service, are you sugguesting this is an NT Service? As far as I know this is a UNIX daemon not an NT service and the command is provided for NT usage on a remote Unix Machine. If I am wrong pleeeeease correct me and tell me where and how that service can be installed on NT.

March 22nd, 2000, 05:18 PM
Try looking at www.denicomp.com.
They have a REXEC pgm for NT for a reasonable price + rcp and rsh commands.