>I have created a VFP 9 .EXE program that minimizes to an icon on the system tray. All that (with Sergey's great help) works wonderfully.
>
>Is there a way to auto quit the VFP program when the user shuts down Windows? I'm assuming there is some kind of Windows API call that will notify my prgram that it needs to quit.
John,
See Solution Samples -> New in VFP 9 -> Binding to Windows Message Events -> Power Broadcast Events
--sb--