Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why on shutdown program is not called?
Message
De
03/08/2010 11:58:39
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01474941
Message ID:
01474988
Vues:
29
>>>>>>You'll have to debug it - supposing llStartApp is true - have a look at the mutex stuff [ IF VARTYPE(oAppObj.oMutex.NAME) = "C"]
>>>>>
>>>>>Do you know of a way to simulate a system shutdown, but without actual shutdown (e.g. I'd like to continue working, but want to test shutdown of the application from the system shutdown).
>>>>
>>>>Sure - close foxpro - shutdown will be triggered
>>>
>>>Do you have a code handy to close (not kill) foxpro outside from the program?
>>
>>>
>>>Or you mean try in Task Manager to close and it will be a good simulation?
>>
>>
>>Click on the close box - or close it via the task manager
>
>
>>
>>In Windows7 - hover over the caption in the taskbar. Then you see a small window - go up with the mouse - there's a close box there as well
>
>When I do it this way - is it the same as clicking on the x button in the screen? In other words, in this case I got a message 'Do you want to exit from my application?'. I added a check for _screen.ReleaseType = 1 to display the message.
>
>When I was closing from the Task bar, I didn't get the message - this is the behavior I'd like to simulate - the shutdown initiated by Windows (say, Windows Update).

Don't let Windows Update shut down anything
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform