Tema: Objeto timer
Ver Mensaje Individual
  #10 (permalink)  
Antiguo 12/03/2008, 11:11
Avatar de vbx3m
vbx3m
 
Fecha de Ingreso: febrero-2005
Ubicación: Venezuela
Mensajes: 524
Antigüedad: 19 años, 3 meses
Puntos: 1
Re: Objeto timer

Cita:
If (Temp_Seg * 60) >= (5 * 60) * 60 Then
Por que no lo colocas la condicion directa y sencilla como te respondio seba123neo??


Cita:
Dim Tiempo As Double

Private Sub Timer1_Timer()
Tiempo = Tiempo + 1
If Tiempo = 240 Then
'aca el codigo que queres hacer al llegar al tiempo que queres
Tiempo = 0
End If
End Sub
__________________
ホルヘ・ラファエル・マルティネス・レオン