|
-
Sep 12th, 2005, 11:54 PM
#1
Thread Starter
New Member
Run exe on server from remote machine
I have a vb.net program that runs on a client machine. It connects to foxpro tables on a server (Server has another application that also uses these tables). On the server I have a small FoxPro exe that updates some tables with values I pass to it from my .net prg and it logs the changes made to the system.
I want to be able to execute from the client machine the FoxProUpdate.exe program that resides on the server and have it process on the server not on the remote machine.
I can get it to execute on the client machine but not on the server. Both machines have the appropriate permissions to communicate with each other.
Is this possible?
Thanks.
Last edited by gking; Sep 13th, 2005 at 01:14 AM.
Reason: I didn't explain the problem correctly.
-
Sep 13th, 2005, 01:07 AM
#2
Fanatic Member
Re: Run exe on server from remote machine
Yes it is possible,,,
If you can get it execute on the client machine by giving a command from server,then It isnt going to be very hard to execute on the server too.
Just let the client to send a command like "$#execute#program#name$@#"...
When the server recieves that command..
In the server program...use ..process.start("App.exe")
Godwin
Help someone else with what someone helped you! 
-
Sep 13th, 2005, 01:24 AM
#3
Thread Starter
New Member
Re: Run exe on server from remote machine
I can only get the exe to run locally on either of the machines. I can't get it to run on 1 machine from the other.
Thanks for your help.
-
Sep 13th, 2005, 03:11 AM
#4
-
Sep 14th, 2005, 06:11 AM
#5
Thread Starter
New Member
Re: Run exe on server from remote machine
I need to start the exe programatically to start when the user kicks it off. I have a mapped drive to the folder with the program in it but it still doesn't work.
The program has to run on the server and have nothing to do with the remote that called it.
Thanks.
-
Sep 14th, 2005, 06:58 AM
#6
Lively Member
Re: Run exe on server from remote machine
you probably need to write a VB.net service to run on the server. then pass a message from the client app to the server service useing either a file or sockets. the service on the server could then run the EXE when the client requested it to.
-
Sep 14th, 2005, 08:07 AM
#7
Re: Run exe on server from remote machine
Use a web service, 1,000,000 times easier.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|