Hi,
I am requesting code for a countdown timer please, where 2 labels (Minutes label = label6 and Seconds label = label7)
I have tried for a long time to try and get this to work, and it has to be "Hours:Minute" format.
I will add below the awful start I have made
If Label7.Text = "1" Then
Label6.Text = (Label6.Text) - Val(1)
ElseIf Label7.Text = "1" Then
Label7.Text = "59"
ElseIf Label7.Text <= 60 Then
Label7.Text = (Label7.Text) - Val(1)
ElseIf Label6.Text = "0" And Label7.Text = "59" Then
Clock2.Stop()
Label7.Text = "0"
End If
There is lots of bugs, such as the last minute is cut out, and it is just buggy, the user must be able to select a time/duration for the timer to work, and also this must be able to change every time the time reaches 00:00, so if someone could help me i would really appreciate it,
Thank you in advance,
Luke