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:
01261539
Vues:
9
>>>>>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.

now you got me curious. Looking.

Now here something interesting.

http://www.robvanderwoude.com/shutdown.html
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform