>hi
>I have two exe's one could be running on a server, and the client on the local machine. I want the client application to know if the server application is running or not. I can do this easily if both apps are on the same machine, but how do I this if each exe's are on different machines
>tia
>Stuart
The simplest way i can think of is to have a free table on the server. When the server application starts it opens the table Exclusively. Then when the client application starts it attempts to open the same table. If it can not, then the client knows the server application is running. But if can open it, then the server application is not running.
This method save the problem if the server application crashes for any reason, the table automatically gets closed, and the Exclusive flag is reset. And the client application will know that something has happen on the server.
Greg Reichert