Index
2018-04-27 12:21Gene Wirchenko : Resetting VFP
2018-04-27 12:42Fred Taylor : Re: Resetting VFP
2018-04-27 12:48Rafael Copquin : Re: Resetting VFP
2018-04-27 12:59Gene Wirchenko : Re: Resetting VFP
2018-04-27 13:00Fred Taylor : Re: Resetting VFP
2018-04-27 13:08Stephen Russell : Re: Resetting VFP
2018-04-27 14:40Fernando D. Bozzo : Re: Resetting VFP
Back to top
Resetting VFP

Author: Gene Wirchenko

Posted: 2018-04-27 12:21:58   Link

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

_______________________________________________

Post Messages to: ProFox@leafe.com

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/99f5aac2049287425566668beb0a5cc1@mtlp000084

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

©2018 Gene Wirchenko
Back to top
Re: Resetting VFP

Author: Fred Taylor

Posted: 2018-04-27 12:42:50   Link

CANCEL

CLOSE ALL

CLEAR ALL

usually works for me.

Fred

On Fri, Apr 27, 2018 at 10:21 AM, Gene Wirchenko <genew@telus.net> 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: ProFox@leafe.com

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/CAJCBksoHhEbLsTtz=rLDepXbUZahaOLc3wAk0H6Q8pg2MBrrYw@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.

©2018 Fred Taylor
Back to top
Re: Resetting VFP

Author: Rafael Copquin

Posted: 2018-04-27 12:48:49   Link

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 <fbtaylor@gmail.com>:

> CANCEL

> CLOSE ALL

> CLEAR ALL

>

> usually works for me.

>

>

> Fred

>

> On Fri, Apr 27, 2018 at 10:21 AM, Gene Wirchenko <genew@telus.net> 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: ProFox@leafe.com

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_HFPHCOQ@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.

©2018 Rafael Copquin
Back to top
Re: Resetting VFP

Author: Gene Wirchenko

Posted: 2018-04-27 12:59:25   Link

At 10:42 2018-04-27, Fred Taylor <fbtaylor@gmail.com> wrote:

>On Fri, Apr 27, 2018 at 10:21 AM, Gene Wirchenko <genew@telus.net> 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.

>CANCEL

>CLOSE ALL

>CLEAR ALL

>

>usually works for me.

I meant hung up, when VFP is not accepting command input.

Sincerely,

Gene Wirchenko

_______________________________________________

Post Messages to: ProFox@leafe.com

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/e79260bcf969b726b5a6e62af964512b@mtlp000087

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

©2018 Gene Wirchenko
Back to top
Re: Resetting VFP

Author: Fred Taylor

Posted: 2018-04-27 13:00:55   Link

For that, I just use TaskManager and kill it.

Fred

On Fri, Apr 27, 2018 at 10:59 AM, Gene Wirchenko <genew@telus.net> wrote:

> At 10:42 2018-04-27, Fred Taylor <fbtaylor@gmail.com> wrote:

>

>> On Fri, Apr 27, 2018 at 10:21 AM, Gene Wirchenko <genew@telus.net> 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.

>>

>

> CANCEL

>> CLOSE ALL

>> CLEAR ALL

>>

>> usually works for me.

>>

>

> I meant hung up, when VFP is not accepting command input.

>

> Sincerely,

>

> Gene Wirchenko

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

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/CAJCBkspqNdLVyfRqDk3xH6q0jjH7xzabJOyU0zLqEjgBOt+pBg@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.

©2018 Fred Taylor
Back to top
Re: Resetting VFP

Author: Stephen Russell

Posted: 2018-04-27 13:08:51   Link

Power Off

Power On

Works for all IDEs.

On Fri, Apr 27, 2018 at 12:21 PM, Gene Wirchenko <genew@telus.net> 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: ProFox@leafe.com

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/CAJidMYKfdoBH=nZ0DOz-3vUgJQWSyr9UebVZDc-MTNhgdGqJkA@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.

©2018 Stephen Russell
Back to top
Re: Resetting VFP

Author: Fernando D. Bozzo

Posted: 2018-04-27 14:40:54   Link

Depending on the kind of hang, killing VFP with task manager should

suffice, but if in the process of hanging you add a bad programming

practices, bad or no garbage collection, bad use of PC resources and

intermitent hangings that can corrupt RAM, then power off/on is the final

solution.

We have a legacy application on Production, with +20 years of bad

modifications that slowly consumes Server resources and do not restore

them, even if restarting the app, so every week we need to reset de Server

:-(

2018-04-27 19:21 GMT+02:00 Gene Wirchenko <genew@telus.net>:

> 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: ProFox@leafe.com

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/CAGQ_Jum6n1fpgq7OKoBD2QWV35J79a3m=PdVOLAwmVhF_QiqmA@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.

©2018 Fernando D. Bozzo