Ver Mensaje Individual
  #4 (permalink)  
Antiguo 09/09/2008, 20:04
Avatar de moradazo
moradazo
 
Fecha de Ingreso: julio-2008
Ubicación: [email protected]
Mensajes: 355
Antigüedad: 16 años, 10 meses
Puntos: 2
Respuesta: Ejecutar timer una sola vez

Código PHP:
Public Class Form1
    Dim stoptimer 
As New Stopwatch 
    
Private Sub Timer1_Tick(ByVal sender As System.ObjectByVal e As System.EventArgsHandles Timer1.Tick
        
If stoptimer.IsRunning Then
            stoptimer
.Stop()
            
Label1.Hide()
        
End If
    
End Sub

    
Private Sub Form1_Load(ByVal sender As System.ObjectByVal e As System.EventArgsHandles MyBase.Load
        Label1
.Text "BIENVENIDOS"
        
Timer1.Interval Val(5000)
        
stoptimer.Start()
    
End Sub
End 
Class 
Ponle el intervalo al Timer de 1. Espero te sirva