Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to shutdown window
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00517011
Message ID:
00517789
Vues:
13
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform