Tema: Objeto timer
Ver Mensaje Individual
  #6 (permalink)  
Antiguo 03/03/2008, 12:54
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

Mi pregunta es donde llamas a Funcion_update?

Quedaria como esto:

Código:
Private Sub Funcion_update()
    Timer1.Enabled = True
End Sub

Private Sub actualitza_Click()
'consultas SQL
End Sub

Private Sub Timer1_Timer()
   xseg = xseg + 1
  If xseg = 600 Then  
      xseg=0 
       actualitza_Click  '600 seg que son 10 minutos
   end if
End Sub
__________________
ホルヘ・ラファエル・マルティネス・レオン