Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GoApp is not an object
Message
De
07/02/2006 12:54:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01093988
Message ID:
01094334
Vues:
21
Hi Naomi,

>Ok, I've tried to shutdown having Modal form opened and sure enough it didn't work.
at least one hit in two tries <g>.

>goApp.oRecordMGR.UnLockRecord(This.cTrans_pk)
>But it's nice I saw this code, because I just relalized, I need to do something similar in one of my own form too.

Really ? If the process is gone, all locks are goners as well. Or is this a step needed for a last saving ? Hint: wrap your exit routines in a try... catch, trying all your already found ways to close down. If then an error is thrown, catch it with a logging function for further cleaning efforts but stomp the app with processkill. That way your app will close down in your next release even if you haven't found all neccessary codepaths to act upon. Brute force has sometimes it's own elegance.

my 0.02 EUR

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform