System restart/shutdown with VFP tray application running  
Author Message
Tomik





PostPosted: Visual FoxPro General, System restart/shutdown with VFP tray application running Top

Hi,

I have a problem with my VFP9 application based on systray.vcx and running on background. All works well except situation, when I try to shutdown, logout or restart system (Win Xp Pro). At this moment ON SHUTDOWN is triggered, event processing stopped and application closed. But nothing more happens. I must restart / logout again and now it works.

Thanks for any help.

Tomik.




Visual FoxPro2  
 
 
Tomik





PostPosted: Visual FoxPro General, System restart/shutdown with VFP tray application running Top

Adding QUIT to the end of procedure called with ON SHUTDOWN solved my problem.