🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
5 messages
5 total messages Started by Pang Fu Wed, 09 Jul 2003 13:50
Starting an application on another PC on the network
#5781
Author: Pang Fu
Date: Wed, 09 Jul 2003 13:50
5 lines
1151 bytes
Is there an easy way of starting (running) an BCB application on another PC
on a LAN ?

Pang Fu
nospam_pangfu@hotmail.com
Re: Starting an application on another PC on the network
#5783
Author: Hans Galema
Date: Wed, 09 Jul 2003 14:22
14 lines
1715 bytes
Pang Fu wrote:
> Is there an easy way of starting (running) an BCB application on another PC
> on a LAN ?

Is this a sockets question ?

Hava a look at:

From: "Martin Weghaus" <mene@weghaus.net>
Newsgroups: borland.public.cppbuilder.language.cpp
Subject: how to start an application on a remote computer
Date: Fri, 4 Jul 2003 15:36:38 +0200

Hans.
Re: Starting an application on another PC on the network
#5785
Author: Junk Mail
Date: Wed, 09 Jul 2003 19:01
31 lines
2515 bytes
"Pang Fu" <nospam_pangfu@hotmail.com> wrote in message
news:3f0c1db6@newsgroups.borland.com...
> Is there an easy way of starting (running) an BCB application on another
PC
> on a LAN ?

Easy? Not really.  You could look into DCOM but I find it difficult to use.

I did something similar to what your asking a while ago.  If your on a LAN
and everyone "trusts" one another you can create a simple program that uses
a TServerSocket.  Then when a client connects it can pass in the path and
name of the executable you want to run.  Then that program can use
ShellExecute to run the program.

Serveral probelms with this solution.
1.) This server socket program will have to already be started on all
machines in which you would want to execute a program
2.) Hackers may have a hay-day with this application as well.  (A suppose
you could use some sort of authentication and encryption to hinder this
though)
3.)Your .exe's will have to be in the same path for all machines unless you
know off hand where each of them are installed.

Just some suggestions.  If you come up with something better let me know.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.493 / Virus Database: 292 - Release Date: 6/25/2003
Re: Starting an application on another PC on the network
#5786
Author: Ben Hay
Date: Wed, 09 Jul 2003 22:14
8 lines
1314 bytes
>Is there an easy way of starting (running) an BCB application on another PC
> on a LAN ?
>
>Pang Fu
>nospam_pangfu@hotmail.com

Sysinternals (www.sysinternals.com) have a utility called PSExec available as part of their PSTools package:
http://www.sysinternals.com/ntw2k/freeware/pstools.shtml
Re: Starting an application on another PC on the network
#5787
Author: Dumboo
Date: Thu, 10 Jul 2003 07:03
11 lines
1415 bytes
Terminal Server-Client
"Pang Fu" <nospam_pangfu@hotmail.com> wrote in message
news:3f0c1db6@newsgroups.borland.com...
> Is there an easy way of starting (running) an BCB application on another
PC
> on a LAN ?
>
> Pang Fu
> nospam_pangfu@hotmail.com
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads