Henry, Just exactly what is wrong with a "well hung computer", after all they usually take after their owners <BG>
Dave Crozier The secret to staying young is to live honestly, eat slowly, and to lie about your age -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 12 October 2006 15:13 To: [email protected] Subject: RE: Why will VFP9 not QUIT? Ok, here's what I've discovered: This is my code If llChanged MsgSvc([Data Structure Changed]) Set Step On Do HifisDbc <--- these 3 programs are DB regenerators Do CusDbc Do CoordDbc On Shutdown Quit Endif If I remove the SET STEP ON, it exits properly. With the SET STEP ON, all of the suggested commands are ignored (thanks to all who pitched in). I looked in the debugger and made sure no references or vars were still declared. Still no exit. I tried Christof's ExitProcess, it DID work (thanks, Christof). Now, since the SET STEP ON will be removed, this is not a deadly situation for me, ExitProcess provides even more safety if I had to. Still, I suspect this is weird behaviour that must bother the more inquisitive minds on this list. I'll gladly keep trying your suggestions (but please, no keyboard hosing, this is Govt property). Thanks again to all Henry -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christof Wollenhaupt Sent: 2006-10-12 10:03 AM To: [EMAIL PROTECTED] Subject: RE: Why will VFP9 not QUIT? Hi, I've seen this behavior from time to time in VFP9. Try this code to terminate VFP gracefully: Declare ExitProcess in Win32API Long ExitProcess(1) If that doesn't work, you need the TerminateProcess API function which is the same as ending a process in the TaskManager. -- Christof [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

