Hi Friends!
I have an Application used for control of a place that rents computers for Internet. There are two parts: Server.exe and the client, Terminal.Exe
Server.exe is placed at
C:\Cybercafe. Actually, everything works around timers and local tables, that clients write and read, and the server generates a response. Every terminal has a special ID for identification in 2 or 3 tables. In fact, this ID was writen for terminal at first use.
Terminal.exe is placed at
C:\Cybercafe, too. At first use, the user set the path for server
(\\somplaceinnetwork) and had automatically the entire path
(\\somplaceinnetwork\c\cybercafe) saved in a local table and establish the ID or name for the PC
(User No 1, i.e.), that helps to identify user and block PC, and store in both sides, server and local tables.
Everything works fine, but in the original design they never think about changes clients (Deleting, change ID, etc.) By now, it´s a little dificult, cause you need to reinstall and change the name of the PC. And it´s not easy cause are working around 50 PC´s with the system. So what I need it´s to make changes from server, delete or modify users. But what I haven´t is terminal´s path. So,
1.- How can I determine the path on a network and determine if is a PC of the system (Exists C:\Cybercafe or not) to change the tables in both sides?
2.- How can I know from the server if the specified client is running terminal.exe?
Thanks in advance!
By two common phrases in his vocabulary, we know Hercule Poirot was a great Developer: his use of "the little grey cells" and "order and method".