Hello Dave,

I was just asked to add an option to shutdown my vfp9 app from an unattended
workstation.

I am very interested in how you "gracefully close down all the forms open"
??

Would you mind sharing your survival class ?

I think I can handle the timer on the main form looking for a trigger to
start the shutdown process.

Just need help with the closing of any open forms and quit the app in an
automated / unattended mode.

Thanks,
Kent

-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Dave Crozier
Sent: Wednesday, January 15, 2014 11:11 AM
To: ProFox Email List
Subject: Quick ideas required...

In my mainline program I have a global "survival class" that looks for the
existence of a particular file every few seconds. If that file is present
then the mainline gracefully closes down all the forms open at that time and
then exits VFP.... this works no problem except when a print preview screen
is open in which case the preview window doesn't close, in fact the mainline
class is never clicks into time mode to check for the file existence.

Any quick ideas on how I can a) check for the existence of a print preview
window and b) close it automatically. I think the solution will be to add
the class into the report somewhere but I can't decide if this is the best
approach.

Any ideas?

Dave


[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/[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.

Reply via email to