Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/04/2011, 16:31
Avatar de pkj
pkj
 
Fecha de Ingreso: julio-2006
Ubicación: Órbita sincrónica
Mensajes: 899
Antigüedad: 17 años, 9 meses
Puntos: 29
Respuesta: Intervalo en un timer

Simplemente pon un contador y un intervalo de p.ej. 60000:

Código vb:
Ver original
  1. Private Sub Timer1_Timer()
  2.   Static Contador As Integer
  3.   Contador=Contador+1
  4.   If Contador=2 then ' total 120 segundos
  5.    Contador=0
  6.     ....
  7.     .... tu codigo del timer
  8.     ....
  9.   End If
  10. End Sub
Saludos
__________________
No hay preguntas tontas, solo gente estup..., ¡No!, ¿como era? No hay gente que pregunte a tontos... ¡Nooo!... ¡Vaya cabeza!