I'm trying to work out how to run an app that I have so that when I enter the computer name in a text box and click on a button, the command associated with that button is run on the remote computer.

I have had a look at doing this with WinSock but I don't want to have a 'client' running on the remote box as they can be anywhere in the network.

Any ideas? Code would be excellent as I have tried this a number of ways and can only get it to work on my own PC no matter what I do!!