?
Solved

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

Posted on 2003-03-31
5
Medium Priority
?
136 Views
Last Modified: 2010-04-06
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
Comment
Question by:edrus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 

Expert Comment

by:-TM-
ID: 8239666
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
 
LVL 4

Expert Comment

by:cjm30305
ID: 8240166
Or you could just run the socket server that has been shipped with Delphi, and then use DCOM to launch your apps.
0
 

Author Comment

by:edrus
ID: 8252789
you know where i can find useful help to program with DCOM?
0
 
LVL 4

Accepted Solution

by:
cjm30305 earned 120 total points
ID: 8253939
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
 

Author Comment

by:edrus
ID: 8263674
thanx for help
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question