Dim tt, dd
tt = Time
dd = Date
If Command1.Caption = "开始使系统时间暂停" Then
Command1.Caption = "停止暂停,继续运行"
Else
Command1.Caption = "开始使系统时间暂停"
End If
Do
DoEvents
Date = dd
Time = tt
Dim tt, dd
tt = Time
dd = Date
If Command1.Caption = "开始使系统时间暂停" Then
Command1.Caption = "停止暂停,继续运行"
Else
Command1.Caption = "开始使系统时间暂停"
End If
Do
DoEvents
Date = dd
Time = tt
可以了