- Код: Выделить всё
- Public Declare Function GetTickCount Lib "kernel32" () As Long
 Dim Mytimer As Double
- Код: Выделить всё
- Private Sub Command1_Click()
 Mytimer = GetTickCount + (30 * 60 * 1000)
 Timer1.Interval = 1000
 Timer1.Enabled = True
 End Sub
 Private Sub Timer1_Timer()
 If GetTickCount >= Mytimer Then
 Label1.Visible = False
 End If
 End Sub




 
 


 
 


