Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows won't Shutdown
Message
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:
01034064
Views:
22
Hi Ivan,

You may want to look into this thread Re: API Function to detect and close a program? Thread #68236 Message #68400, though it doesn't provide an answer, just some ideas for thought. I'm continuing to research the problem meantime, because you raised my curiousity... < g >

>Thanks Nadya, you've already been too kind !!!
>
>My framework isn't a problem, on the contrary, it's the best tool I've ever worked with.
>I will follow your idea and see how to get the information on who is the murderer.
>
>Thanks a lot !!!
>
>Ivan
>
>
>>>I see, Nadya ... it's a good idea, I've even run into "Shutting down Windows from inside VFP app" while trying to find an answer around here.
>>>
>>>One little question, if you don't mind ... is there a way to know if the app shutdown was caused by Windows shutdown ?
>>>
>>That's the hardest part, I think :) I haven't researched this problem yet, though. The simple (but may be not since you're in the framework) way would be to know, when a USER closes the application and assume, that all other cases are caused by Windows Shutdown.
>>
>>That's the first idea which comes to mind, see, if you can work from it, otherwise I'll run a research on the problem...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform