Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Terminating an application on other stations
Message
From
22/03/2000 06:30:43
 
 
To
22/03/2000 06:18:03
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00348775
Message ID:
00348777
Views:
26
>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".
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform