Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GoApp is not an object
Message
From
07/02/2006 12:54:42
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01093988
Message ID:
01094334
Views:
27
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform