Information générale
Catégorie:
The Mere Mortals Framework
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement