RE: VFP refuses to close

Author: Allen

Posted: 2012-04-19 at 09:30:13

I've not tried sysmenu. I will next time it happens

Al

-----Original Message-----

From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com] On

Behalf Of MB Software

On 4/19/2012 9:01 AM, Allen wrote:

> Hi gang

> I sometimes get a problem with VFP9 SP2 + hotfixes on Windows 7 (but I

> think I've seen it on XP) where VFP refuses to close down. Anyone else get

this?

I get this more often that I'd like to admit. Years ago I put this Ted

Roche submission into my "DO X" routine (that quickly clears out and resets

things):

* quitfox.prg

Declare ExitProcess in Win32API Long

ExitProcess(1)

Then in my X.PRG, I have these lines:

SET SYSMENU TO DEFAULT

CLEAR ALL

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/006301cd1e38$eff95870$cfec0950$@com

** 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.

©2012 Allen