Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Turn off the computer
Message
From
17/10/2007 10:35:57
 
 
To
17/10/2007 03:19:39
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01261227
Message ID:
01261499
Views:
8
>>>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.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform