Good readings everyone.... i want to make a countdown timer in vb.net. this is what i got
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
dim x as integer = textbox1.text
dim y as integer = 60
dim ans as integer = x * y
label1.text = ans - 1
end sub
if i input one in the textbox and run the program it only change the text in the label box as 59, its like its counting down but only once. how could i do it! please help me!
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
dim x as integer = textbox1.text
dim y as integer = 60
dim ans as integer = x * y
label1.text = ans - 1
end sub
if i input one in the textbox and run the program it only change the text in the label box as 59, its like its counting down but only once. how could i do it! please help me!