hi Mark, I think ms need to increase. u said save datetime first, how do i. I try to Add millisecond only. see the following code but it isn't work. Pls, how do i do ? Help me... :((
Dim tmr As System.Windows.Forms.Timer
Dim ts1 As New TimeSpan(0, 0, 0, 0)
Dim ms, sec, min As Integer
Private Sub Ticker_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)
Me.Text = ts1.Seconds & ":" & ts1.Milliseconds
ms += 15.4
ts1 = New TimeSpan(0, 0, min, sec, ms)
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
tmr.Start()
End Sub
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.Text = "0:0"
Dim ts As New TimeSpan(30, 0, 0, 0)
tmr = New System.Windows.Forms.Timer
tmr.Interval = 1
AddHandler tmr.Tick, AddressOf Ticker_Tick
End Sub
Help Me pls, vital for me, Thankz a lot.