Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Turn off the computer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
01261227
Message ID:
01261511
Vues:
10
>>>>Hi All,
>>>>
>>>>How can I turn off the computer from VFP?
>>>
>>>
>>>loShell = createobject("Shell.Application")
>>>loShell.ShutDownWIndows()
>>>
>>>
>>>When testing this, make sure every thing else is saved and closed.
>>
>>Shutdown my computer dialog is coming but waits for my click.
>
>ya, I noticed that too. I suggest using the others suggestion for non-interactive shut down.

I looked that up the other day after you posted it and I thought I saw it had a set of parameters much like the Shutdown command... I'm not able to check that out this morning though.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform