|
Re: Remote Program Execution in Visual Basic
Quote:
|
Originally Posted by Greg
Well, there are several ways to do this. One is to write a VB app that will run in IIS on the target machine. The application will create a web page that you can go to to trigger the job. However, this requires setting up web servers on the machines, and you probably dont want to have 5 web servers
Another way would be to write a program that uses Winsock. On the machines where you want to run the batch you set up a "server" program that opens a specific port and waits for a command. It should start with Windows. On your machine you have a "client" program that can connect to that program on that port and send it the command. You'll probably also want a password of some sort. There's quite a number of Winsock tutorials online.
|
Can you point me towards any tutorials you think are better than others?
__________________
Jeff Waegelin
Mechanical Engineer, Innovation First Labs
Lead Engineer, Team 148 - The Robowranglers
|