Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shut down computer ( WinXP )
Message
From
23/01/2009 08:11:42
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01376499
Message ID:
01376504
Views:
8
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform