Re: What to do when disaster strikes but requires user input
- From: "MikeA" <appell@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 2 Jun 2009 14:53:43 -0700
I agree as I indicated that I haven't used it. I simply said that I have
seen it used with a great deal of success where I have seen it used and all
variables are reinitialized, etc.. I'm not advocating it one way or
another - just might be something to check into. Like you, I personally
have never had a need to use it. If programs are written efficient and
fairly bug free then then other unrelated problems such as a need to
reindex, power surges etc most likely won't be fixed by any code including a
return to master. It is possible the apps I have seen that successfully
used it may have been built around it - I never studied the apps enough to
say but just noticed that it worked well even though I never used it.
Mike
..
"Dan Freeman" <spam@xxxxxxxxxxxxx> wrote in message
news:uN4Itm84JHA.4412@xxxxxxxxxxxxxxxxxxxxxxx
RETURN TO MASTER wasn't that great of an idea when it was introduced, and
its usefulness has diminished with age. It subverts the normal
create/release order for memvars/object, throws everything out of scope
suddenly, may cause dangling object references because an object's normal
lifetime has been subverted, and it leaves any established hotkeys "hot".
If you build an entire application's architecture such that it understands
the sudden flush of RETURN TO MASTER that's one thing. I wouldn't want to
use it after the fact. :-)
Dan
MikeA wrote:
You know - it's always best of course to track and trap all the bugs.
But, I think ON ERROR along with the "good old" RETURN TO MASTER
might be something to check into so that when there are errors it
will hopefully return control back to your program. I normally
haven't needed to use return to master in service programs I've
written but I have seen it in used in other programs with a good
degree of success.
Mike
"Jeff Grippe" <jeff@xxxxxxxxx> wrote in message
news:PvWdnTjBF7fi8rjXnZ2dnUVZ_t2dnZ2d@xxxxxxxxxxxxxxxx
No ActiveX controls.
Usually the C5 index or memo errors are a bit more unrelenting.
The last time the application was restarted was 5/29 and that was
something the watchdog app was able to deal with. I don't have good
data about the last restart that the watchdog couldn't deal with.
Now that I'm waiting for it to happen so that I can report it to all
of you, it won't (not that I mind).
I don't think it was an actual C5 but rather, it was that type of
error which doesn't die gracefully but rather creates a UI event
that must be responded to.
So, I watch and wait, and if the error never occurs again, I'll
learn to live without it.
Thanks,
Jeff
"Richard Stecenko" <Stecenko@xxxxxxxxxxxxxx> wrote in message
news:29ra25hvhq9krh16s5tmbkb083gsq48404@xxxxxxxxxx
And by corrupted memo files.
Richard Stecenko
Interactive Computer Services Inc.
Winnipeg, Canada
204.453.2052
.
- References:
- What to do when disaster strikes but requires user input
- From: Jeff Grippe
- Re: What to do when disaster strikes but requires user input
- From: Gene Wirchenko
- Re: What to do when disaster strikes but requires user input
- From: Alex.K
- Re: What to do when disaster strikes but requires user input
- From: MikeA
- Re: What to do when disaster strikes but requires user input
- From: Jeff Grippe
- Re: What to do when disaster strikes but requires user input
- From: swdev2
- Re: What to do when disaster strikes but requires user input
- From: Jeff Grippe
- Re: What to do when disaster strikes but requires user input
- From: MikeA
- Re: What to do when disaster strikes but requires user input
- From: Richard Stecenko
- Re: What to do when disaster strikes but requires user input
- From: Jeff Grippe
- Re: What to do when disaster strikes but requires user input
- From: MikeA
- Re: What to do when disaster strikes but requires user input
- From: Dan Freeman
- What to do when disaster strikes but requires user input
- Prev by Date: Re: What to do when disaster strikes but requires user input
- Next by Date: Re: This Newsgroup - Is This the most popular for VFP
- Previous by thread: Re: What to do when disaster strikes but requires user input
- Next by thread: Re: What to do when disaster strikes but requires user input
- Index(es):
Relevant Pages
|