有那位可以告诉我一个电脑开关器的编程!!

来源:百度知道 编辑:UC知道 时间:2024/05/15 20:21:36
现在小弟刚入(baidu)悬赏只有10分我全加了``
望能交个朋友``我很喜欢程序编程!(平面!3D!动画)等设计!
我QQ是:258457705!!

VB做的定时关机重启的控件的 部分代码 :
Private Sub Command4_Click()
Dim str As String
SaveSetting "定时启动", "command41", "command41", Text1
SaveSetting "定时启动", "command42", "command42", Text2
xiaoshi = Text1
feng = Text2
If Option1.Value = True Then
str = "关闭计算机"
Else
str = "重新启动计算机"
End If
Label1.Caption = "状态:每天" & Text1 & "时" & Text2 & "分" & str
End Sub