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
DEFINE BAR 8 OF _MTOOLS PROMPT "\-"
DEFINE BAR 9 OF _MTOOLS PROMPT "ViewEdit3"
DEFINE BAR 10 OF _MTOOLS PROMPT "Force quit"
ON SELECTION BAR 9 OF _MTOOLS do c:\dev\ve3.exe
ON SELECTION BAR 10 OF _MTOOLS do c:\dev\progs\quitfox.prg
CD c:\dev\fabmate
DO c:\stonefield\sdt\sdt.app
_screen.Caption = VERSION(4) + " Development (" + CURDIR() + ")"
_screen.Picture = ""
--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16
_______________________________________________
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
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** 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.