CountDown Timer Label
Code Snippet
Dim
CountDownAsInteger = 0Dim TimeSelectionAsLongPrivateSub AutoCopyTimer_Tick(ByVal senderAs System.Object,ByVal eAs System.EventArgs)Handles AutoCopyTimer.TickDim TimeAsDouble = TimeSelection * 60CountDown += 1
If CountDown = TimeThenMsgBox(
"test")'Call Copy ProcedureElseTimerLabel.Text = Format(Time - CountDown,
"HH:mm:ss")EndIfEndSubPrivateSub AutoCopyTimerForm_Load(ByVal senderAs System.Object,ByVal eAs System.EventArgs)HandlesMyBase.LoadSetTimerMins()
'TimerLabel.Text = TimeSelection
AutoCopyTimer.Enabled =
TrueEndSubPrivateSub SetTimerMins()SelectCase mgmtoptdialog.AutoCopyInterval.TextCase"Every 15 Minutes"TimeSelection = 15
Case"Every 30 Minutes"TimeSelection = 30
Case"Every 45 Minutes"TimeSelection = 45
Case"Every 60 Minutes"TimeSelection = 60
Case"Every 90 Minutes"TimeSelection = 90
Case"Every 120 Minutes"TimeSelection = 120
EndSelectEndSubI'm working on a countdown timer based on the selection of text from a combobox.
It work half way since when the ticking starts my label displays hh:mm
s and I cannot see the countdown.
What am I doing wrong?
I thought I had it.

