Hi,
I have been searching the internet and this forum for the answer to my problem, but so far nothing is working. I want a label to appear 10 seconds after the form loads. This is one of the codes that I have tried so far
but it doesn't work. Like this the label is visible when the form loads and then disappears, but if I switch the Label2.Visible = True & False the code doesn't work at all. It also doesn't do anything if I change the = to a less than sign. Any and all help is appreciated. Thanks!
I have been searching the internet and this forum for the answer to my problem, but so far nothing is working. I want a label to appear 10 seconds after the form loads. This is one of the codes that I have tried so far
Code:
Private Sub Form_Load()
Timer1.Interval = 60000
Timer2.Interval = 10000
End Sub
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
Static Flag As Integer
Flag = Flag + 1
If Flag = 1 Then
Label2.Visible = False
Else
Label2.Visible = True
End If
Flag = 0
End Sub
Comment