What I use in my BG-leecher;
Code:
Private Sub tmrLeech_Timer()
Seconds = Seconds + 1
Label1.Caption = "Minutes: " & Seconds 60 & " Seconds: " & Seconds - ((Seconds 60) * 60)
If Seconds >= 3600 Then
End
End If
End Sub
Though it plays an alarm instead of shutting down, lol. (the BG-leecher, that is)
So what you do is; you put a label (or just remove the line that starts with label1) and call it Label1 (by default it will, lmeow), then add a timer and call it tmrLeech and simply put the code I wrote anywhere in the form's code (that is, if you double click tmrLeech to generate the start and end code, you'll have to remove those parts from the code I wrote)
One more thing: you'll have to set Seconds to 0 in the Form_Load() event.
Code:
Public Seconds As Integer 'Put this in the top of the form, if that doesn't work, change public to private 'cuz I've forgotten which one to use lolx.
Private Sub Form_Load()
Seconds = 0
End Sub