Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to shutdown window
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00517011
Message ID:
00517792
Views:
23
Forgot to include Stanley on this.

>>Do you know, is it possible from VB Script? It would satisfy his request, I believe.
>
>Nope, no Win32 API calls from WSH, AFAIK. The best suggestion I could offer would be to write an EXE in C++ and deploy that. Something like
>#include <winuser.h>
>#include <windows.h>
>void main(){
>    ExitWindowsEx(EWX_SHUTDOWN, 0); // Second param is ignored
>}
Mike Stewart
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform