Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shutting down apps
Message
From
03/04/1998 11:31:55
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00089227
Message ID:
00089295
Views:
23
>Bill,
>
>If anything it should send a WM_QUERYENDSESSION message to the app and test the return value it'll be nonzero if the app can shutdown, 0 if it can't. If it can shutdown, then sent it a WM_ENDSESSION message.
>
>But I don't think this can be done across a network, I think it can only be done on the machine locally.
>
>>I have been asked about what would be the best way to externally shut down running FP apps. That is, an application ( probably VB ) that would inform users on a network who are currently running a FP app to shut down the app, and if they do not in a specified amount of time, then the VB app would forcefully shut down all running instances of the application on the network. How could this be done most gracefully, closing tables, cleaning up, etc. to keep from corrupting the open FP tables. The existing FP apps cannot ( or will not :-) ) be modified.

Thanks David.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform