by driessen » Tue Jan 28, 2014 1:39 pm
Jeff,
I have build a solution for this problem. It's quite a big solution, to big to put the code in here but also to difficult because this code can be found in several parts of my code. But I'll try to describe what I do.
I have a file, containing all the controls of the different users.
Then I have a timer which checks some controls per user for instance every minute.
One control is to check if the program has to be closed on demand by another user.
The timer makes the program to read the control within one minute. If my control for closing the program is set to true by the other user, the program will read this, then put the control back to false and finally quit the program.
How does user A make the application quit on the PC of user B?
User A can select user B in a listbox. Then there is a button which put the control for quitting the program to true for the selected user (i.e. user B).
Within one minute, the PC of user B will quit the application.
I hope you understand what I mean.
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