|
Re: Remote Program Execution in Visual Basic
I have had to do something like this before, but I didn't use Visual Basic.
When I had to have a program run on multiple systems, I write small batch files and install them on all the target systems. These batch files go onto the network and get a list of commands to do, and then execute them.
ex: ---------------------------
@ECHO OFF
NET USE * /d
NET USE N: \\inferno\list /Y
C:
CD\
COPY N:\1.txt C:\1.bat
CALL C:\1.bat
DEL C:\1.bat
REM Command Done
I would put the requisite commands into 1.txt on a server of sorts. Inferno is my server, and list is a special share where I put 1.txt.
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
|