Hi everyone,
Im having some problems with the timer component, i want label10 to countdown with the timer component to 0
the user inputs the time in Miliseconds in textbox2
so i want to let the user see the time being counted down.
Any help is much appriciated

-Zander
Edit* Ooops! i think i may have put this in the wrong section, im Using VB.NET
My Apologies
CODE
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If TextBox2.Text = ("") Or TextBox1.Text = ("") Then
MessageBox.Show("Syntax Error, Fill in all fields")
Else
Timer1.Interval = TextBox2.Text 'Timer inputted by user
Timer1.Enabled = True
Label3.Text = TextBox1.Text
Label10.Text = Timer1.Interval. / 1000 'Time in seconds
MessageBox.Show("Timer Added")
End If
CODE
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Dim Reminder As String = "Timer: " + TextBox1.Text + " Has Expired"
MsgBox(Reminder, MsgBoxStyle.Information And MsgBoxStyle.OkOnly, "Your Reminder!")
Timer1.Enabled = False
End Sub
This post has been edited by Zander: 2 Jun, 2008 - 06:17 PM