VB:无效字符

来源:百度知道 编辑:UC知道 时间:2024/09/22 01:00:48
Private Sub Timer1_Timer()
?f Label2.Caption <> CStr(Time) Then <------提示这行有无效字符
Label2.Caption = AlarmTime
Label3.Caption = Time
End If
If Time >= AlarmTime Then
Call deng
End If
If WindowState = 1 Then
If Minute(CDate(Caption)) <> Minute(Time) Then
mintime
End If
End If
End Sub

Private Sub Timer1_Timer()
if Label2.Caption <> CStr(Time) Then
Label2.Caption = AlarmTime
Label3.Caption = Time
End If
If Time >= AlarmTime Then
Call deng
End If
If WindowState = 1 Then
If Minute(CDate(Caption)) <> Minute(Time) Then
mintime
End If
End If
End Sub

if少了个“i”