Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shut down computer ( WinXP )
Message
De
23/01/2009 08:11:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01376499
Message ID:
01376504
Vues:
13
>>>Hi all,
>>>
>>>I want to know the command to Shut down computer from VFP9
>>>
>>>( i am using WindowXP-32bit, VPF 9 )
>>>
>>>Thank a lot
>>
>>
>>o=CREATEOBJECT("shell.application")
>>o.ShutdownWindows()
>>
>
>It does not shut down Windows but displays the Shut Down Windows dialog box leaving choice to user.

Thanks. I, personally don't use it. I just happen on it in my collection of UDFs.
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform