>Hi,
>
>We have a vfp application which runs as an NT Service. This works fine as it runs in background and doesn't effect the user. We require the application to be in effect whenever the machine is on. When the machine is shutdown, the service and application stop and restart at boot.
>
>However, when the machine is "Close all programs and log on as different user?" VFP thinks the machine is shutting down. The service keeps running but the application ends.
>
>If anybody has any ideas please let me know as driving me nuts!!!
>
>TIA
>
>Steve
Steve,
With VFP 7, SYS(2340) was added to help with this. You can configure VFP to ignore this and continue to operate. For more information, see help file.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao