• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 137
  • Last Modified:

How can i execute a prog in another computer?? i.e. Remotely...

Hi all,

How can i execute a program in another computer, using IP and TCP/IP connection ??? Is there a way??

I'm using WinXP in both machines.
First, i get the IP of the machine, and use Ping to know if the machine is active. Soon after, i need to execute a program in that machine using the IP and TCP/IP connection.

Anyone have idea?

Thanx.
0
edrus
Asked:
edrus
  • 2
  • 2
1 Solution
 
-TM-Commented:
You need to have a Client and Server module.

The server runs on the remote machine and the client connects, then you can send commands, Have a look at www.pscode.com for some source code examples.
0
 
cjm30305Commented:
Or you could just run the socket server that has been shipped with Delphi, and then use DCOM to launch your apps.
0
 
edrusAuthor Commented:
you know where i can find useful help to program with DCOM?
0
 
cjm30305Commented:
Mario Cantou's (sp?) Mastering Delphi books.  Or you can pick up some books at Borders or something.  You can google search for DCOM on the internet, however it is a very dufficult subject to master, and the information on the internet is mostly written for the experienced COM/DCOM programmer.  You may want to find a book on begining DCOM or something like that.  Good luck with your project.

Cheers.
0
 
edrusAuthor Commented:
thanx for help
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now