Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows won't Shutdown
Message
From
20/07/2005 12:05:25
 
General information
Forum:
Visual FoxPro
Category:
CodeMine
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01033966
Message ID:
01034294
Views:
16
This message has been marked as the solution to the initial question of the thread.
To let windows continue its shutdown-procedure the on-shutdown-procedure must stop the vfp application itself!
So the shutdown procedure must end with a QUIT statement, and not a RETURN. It is not enough to just 'clear' the readevent and let the application end 'gracefully'.

>Hi there.
>
>I've got a funny situation here ... hope anyone could give me a clue.
>
>WinXP won't "turn off" whenever my VFP7 CM7 application is running. I mean, all forms might be closed at the moment, nothing is waiting anything, the application is only there, whether minimized or not. If there is an attempt to turn WinXP off, the application will be closed, but windows will stop there and stay alive, then it's necessary to switch Windows off again, and it will work.
>
>OK, why on earth is this a problem, right ? Just close the application before switching WinXP off ... That would be fine if the windows user were the one doing it, but in my case, this is done remotely, there's no one sitting on the desk at the time WinXP is ordered to switch off.
>
>I've tried many things, but as I haven't got much hair left, I was thinking if someone had an idea to help.
>
>Thanks in advance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform