>I have large number of remote access boxes that are remotely controlled and run a VFP application. The app must yield to the operating system when the OS is instructed to shutdown by other applications.
>
>Does anyone know how to achieve this in VFP 5.0
>
>Thanks,
>
>Gerry.
Gerry,
You need to use ON SHUTDOWN. It is documented in the help file. If you have more questions about it, pop back here with them.