by driessen » Sun Sep 06, 2009 11:13 am
Jef,
Starting an application from the server, is usually no problem.
But, as customers often ask for client-server application, I solved it this way.
I made a small application which is installed on the local PC and to which my shortcut on my desktop refers. If there is no main application on the local PC, this small application copies the main application from the server to the local PC. If the main application is on the main PC, the small application checks if the main application has been changed (same size, same date, same time). If the main application has been changed, the small application copies the main application again to the local PC. Also other files like DLL, RES of RC can be handled the same way. If there has been no change or after the necessary files have been copied to the local PC, the small application starts the main application.
When the main application has been started, it does the same with the small application so that the small application is updated on the local PC if needed.
Working like this has some advantages :
1. Your application is client-server.
2. Updating the local PC's is happening automatically.
3. If an update has become available, only the server has to be updated.
If any questions, don't hesitate to ask.
Good luck.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773