tricks801
asked on
Communication between 2 instances of the same program
I have a program that acts as a scheduler. It is possible to open mutliple instances of this program on the same machine (several people can edit the different schedules at one time ). Only one program however should be acting as the scheduler.
When an instance of the program is started I want it to check for other instances
- if there are no other instances then it should become the scheduler
When an instance of the program closes and it is the scheduler, it needs to look for another instance and tell that instance to become the scheduler.
Also, the apps will be running on a terminal server by different users.
Thanks
When an instance of the program is started I want it to check for other instances
- if there are no other instances then it should become the scheduler
When an instance of the program closes and it is the scheduler, it needs to look for another instance and tell that instance to become the scheduler.
Also, the apps will be running on a terminal server by different users.
Thanks
you only need to write 1 server and 1 client.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Tricks801: Is this still open? Where did you get with this?