I use this:

DECLARE ExitProcess IN kernel32 INTEGER uExitCode
ExitProcess(0)

Put this code in your personal menu (that you attach to VFP), and/or as a
procedure in your app to exit the program.

This calls a Windows API that kills the VFP instance and closes all files.
It never fails.
In my personal menu I have an option called EMERGENCY EXIT.

When I click on it the VFP instance just dies and memory is clean

Rafael Copquin


<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Libre
de virus. www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

2018-04-27 14:42 GMT-03:00 Fred Taylor <[email protected]>:

> CANCEL
> CLOSE ALL
> CLEAR ALL
>
> usually works for me.
>
>
> Fred
>
> On Fri, Apr 27, 2018 at 10:21 AM, Gene Wirchenko <[email protected]> wrote:
>
> > Hello:
> >
> >      Sometimes, the coding is a breeze, and sometimes, it is not.
> >
> >      Suppose, because of bugs, incomplete functionality, etc., you have
> > just hung up VFP.
> >
> >      Is there a way to reset VFP?  Something that always works?
> >
> >      I know I can abort it and then restart it, but I have had to do so
> > dozens of times.  The thrill palls.
> >
> > Sincerely,
> >
> > Gene Wirchenko
> >
> >
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cahm-jj3y7z0uf1cewkuxm0hupjxtopryvzbfrpu60s_hfph...@mail.gmail.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.

Reply via email to