ok...Originariamente inviato da xam85reBanned
il codice ke hai messo nell load lo devi inserire anche nell' evento timer_tick
spero di aver eseguito alla lettere ciò che mi hai detto :
MA NN MI GIRA COMUNQUE... MI POSTI UN ESEMPIO DI COME DOVREI FARE ??
grazie e scusa...
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Timer1.Interval = 1000
Timer1.Enabled = True
End Sub
#Region "APERTURA FORM"
Public Sub FrmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim ora As Date
ora = CDate(Hour(CDate(TimeOfDay.ToString())) & ":" & Minute(CDate(TimeOfDay.ToString())) & ":" & Second(CDate(TimeOfDay.ToString())))
Lblora.Text = CStr(ora)
End Sub

Rispondi quotando