09-08-2000, 07:38 AM
I want a command button when pressed from a server executes a file (which resides in a client) from a client. I used Shell Execute API but the PROBLEM is: the file is executed on the server (the server gets the effect of the file)! I want the file to be executed on the server but the client would run the program!!
09-08-2000, 10:24 AM
Explain a little clearer.
Are the .exe and output file (if there is one) on the same PC?
Which PC will run the .exe ?
09-08-2000, 11:06 AM
What I think your talking about is remote execution.
Maybe this will work:
On the server you have an app that writes a file to the remote computer when the button is pressed.
On the client you have an app running all the time that checks for the file every so often. When it finds it, it runs then deletes the file.
The only other option I can think of would be to use something like LapLink or PCAnywhere.
Hope This Helps,
09-08-2000, 11:48 AM
If it is remote execution you are talking about then its not that difficult. All you would have to do is add a little agent on the machine that will run the exe files and the connect to it with a SOCKS connection and send it a string. The agent would then run a shell command using the string that was passed to it as a parameter. et voila.
If you want more detail just ask.
09-08-2000, 09:03 PM
Ok Grimfort i got your idea... can you please give me more details?! What shoudl i do? create 2 app, 1 for sending a string (path of file) another app to listen and execute the path on the string. ok, where do i start?!
here some details. I'm on a LAN network. I'm the server so i can access file from clients using network neighborhood.