hi,
for few days this has been bugging me, tried 100s of ways to fix to no avail.. So it's time to ask,my time won't tick, any1 know?
this is in my button click: Wait.Enabled = True
say i set 20 here:
Dim timer As Integer = Val(DelayTime.Value)
it just shows:
Status: Waiting 19
it should countdown n it's not, why?
for few days this has been bugging me, tried 100s of ways to fix to no avail.. So it's time to ask,my time won't tick, any1 know?
this is in my button click: Wait.Enabled = True
Code:
Private Sub Wait_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Wait.Tick
Dim timer As Integer = Val(DelayTime.Value)
If timer >= 1 Then
timer -= 1
lblStatus.Text = "Status: Waiting " & timer.ToString()
Else
timer = 0
Wait.Enabled = False
End If
End Sub
Dim timer As Integer = Val(DelayTime.Value)
it just shows:
Status: Waiting 19
it should countdown n it's not, why?