Boxster1987
Programmer
I'm making a stopwatch program but when the timer gets to 30 seconds, it says 00:29, 01:31, 01:32.... Does anyone know what is wrong?
Here is the code that I wrote:
Dim totalsec As Integer_________________
Private Sub Timer1_Timer()
totalsec = totalsec + 1
minutes = Format(totalsec / 60, "00"
seconds = Format(totalsec Mod 60, "00"
Label1.Caption = minutes & ":" & seconds
End Sub
Please Help!!!
Thanks
Here is the code that I wrote:
Dim totalsec As Integer_________________
Private Sub Timer1_Timer()
totalsec = totalsec + 1
minutes = Format(totalsec / 60, "00"
seconds = Format(totalsec Mod 60, "00"
Label1.Caption = minutes & ":" & seconds
End Sub
Please Help!!!
Thanks