Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shut down the PC
Message
De
13/01/2000 06:59:44
 
 
À
13/01/2000 03:17:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00317431
Message ID:
00317457
Vues:
13
>What can I do to shut down the PC ?
>Last year or two years ago I used the sysinfo class downloaded from this site, but I realized it was compiled by previous version of VFP
>

You can force a shutdown by calling the ExitWindowsEx() API call; there are examples of this in the FAQ. This may not work under NT or Win2K where special permissions have to be enabled to allow this.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform