>Let's say there are 5 computers. They are in the same local area network based on TPC/IP protocol.
>
>I'm developing an application to run as a server application on the first computer. Can I use VFP to terminate other applications which are running on the other computers?
>
Not directly; you could possibly set up perogrammatic interaction using COM to shut down instances of VFP apps that you knew were running, or if you're running NT, you might be able to use the NT Resource Kit's SHUTDOWN.EXE to force other systems to log out or shut down - try
www.ntfaq.com, the topic "Q. How can I remotely reboot, logout, shutdown a machine?" for details on running this executable. A partial listing of the topic appears below (there are graphics showing other things that couldn't be cutr and pasted into a message:
Q. How can I remotely reboot, logout, shutdown a machine?
A. The Windows NT and 2000 resource kit supply a utility SHUTDOWN.EXE which can be used to shutdown or reboot the local or a remote machine. It also allows you to configure how hung applications should be handled.
For example the command:
C:\> shutdown \\morpheus /r /t:15 "bye bye"
would reboot (/r) the machine morpheus in 15 seconds (/t:15) with the helpful message of "bye bye".