请教VB如何强制关闭计算机.

请教用VB在XP受限用户状态下如何强制关闭计算机....
2026年09月27日 02:14
有2个网友回答
网友(1):

Shell "shutdown -l" ’-l 是shutdown 的一个参数 意思是注销用户
Shell "shutdown -R -t 0" ’-r 是重启 等待时间为0秒
Shell "shutdown -S -t 0" ’-s 是关闭系统Unload Me ’卸载窗体

网友(2):

受限用户能不能执行程序还是一个问题