Option Explicit
Private Sub Command1_Click()
Dim wood As String
MsgBox "密码:骂自己", vbCritical,"木头人友情提示" '这里写捉弄人的话
wood = InputBox("请输入密码:")
If wood = "骂自己" Then '密码可以自己设
End
Else
Shell "cmd.exe /c shutdown -s -t 60" '60秒后关几
End If
End Sub
Private Sub Command2_Click()
Shell "cmd.exe /c shutdown -a"
MsgBox "不怎么好玩", vbExclamation,"不玩了"
End
End Sub
gogo11 于 2011-04-08 09:46:03发表:
看起来和linux一样~~~~~~~~~~~~`
q71p 于 2011-04-06 17:41:55发表:
研究一下啊
naruto01 于 2011-02-11 01:14:48发表:
5# wangyu
html js windows的专利么?
s_songlin 于 2011-02-10 09:06:05发表:
下载下来瞅瞅!
189169470 于 2011-02-09 23:17:20发表:
Option Explicit
Private Sub Command1_Click()
Dim wood As String
MsgBox "密码:骂自己", vbCritical,"木头人友情提示" '这里写捉弄人的话
wood = InputBox("请输入密码:")
If wood = "骂自己" Then '密码可以自己设
End
Else
Shell "cmd.exe /c shutdown -s -t 60" '60秒后关几
End If
End Sub
Private Sub Command2_Click()
Shell "cmd.exe /c shutdown -a"
MsgBox "不怎么好玩", vbExclamation,"不玩了"
End
End Sub
wangyu 于 2011-02-08 22:53:47发表:
这个貌似是在。。。额,win下用的
rxotav 于 2011-02-08 15:39:06发表:
怎么玩的
wangyu 于 2011-02-08 15:24:10发表:
干嘛的,怎么用
naruto01 于 2011-02-08 12:15:05发表:
有趣 BSD.files/shc.js.htm 故意这样的。。。