Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Killing VFP
Message
From
16/06/2008 11:09:33
 
 
To
16/06/2008 11:04:49
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01324417
Message ID:
01324434
Views:
13
I have tested this. The ON SHUTDOWN launches a tiny program with a messagebox. Via the Task Manager the messagebox displays AND the option is given to kill anyway. I think that shows at least some respect. However, The Taskkill tool does not at all display the messagebox. It immediately kills vfp.

UPDATE: Ah, I just discovered that this forceful kill was caused by the /F parameter I was using. When I removed it, the behavior indeed matched the Task Manager. This solves my concern. Now I'm pretty sure this is what I'll gonna use. Thanks Craig and Agnes.

>It's the same as killing an application through task manager. Suppose you had an application that you needed to kill, you launch Task Manager, and attempt to kill it. However, the application has code (say in an ON SHUTDOWN), that keeps the application running. How would you ever kill it?
>
>>Im message #1324282 I asked how VSS can be stopped in a batch file. I have now discovered Taskkill and PsKill. Taskkill is a tool in WinXP Pro and Vista. PsKill is a tool from SysInternals.
>>
>>Both have proven to me they can kill VSS and VFP. However, I also noticed that the ON SHUTDOWN routine of VFP was not respected. This gives me the feeling that it may occur that VFP may shut down in a dirty way, perhaps even 'corrupting' tables.
>>
>>Has anyone experience with this way of killing VFP?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform