Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shutdown (no if's and but's)
Message
From
24/05/2002 08:59:33
 
 
To
24/05/2002 06:45:51
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00660933
Message ID:
00660979
Views:
23
Hi Kevin,

One thoughts is to have a forms manager in your application object which will know what forms are open and gracefully close them and release any outstanding object references so the application can QUIT gracefully.

I guess a hard-core way might be to invoke the appropriate API function ( can't remember it off the top of my haed ) to force the application to close similar to how the Task Manager does. I would think that generally this would be too drastic but maybe someone who has done it this way will chime in with some details.

Bill

>Hi
>
>I have a lockout timer that runs throughout my app and when it's time to shutdown the app, it calls it's standard Quit() method in one of the objects. However, this method sometimes fails when certain forms are open.
>
>Is there any way I can close the application without it complaining about this and that, no if's and but's, it's a matter of fact, it WILL shutdown immediately!
>
>Any ideas?
>Thanks
>Kev
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform