So i'm trying to disable a timer from counting down to 0 when a label is clicked but i keep running into problems. How could i accomplish this without any errors?
heres the current code bit.
I've tried changing it to Timer1.Enabled = False without any luck.Code:Private Sub Label4_Click() frm_1.Visible = False Win.Visible = True Win.lbl_amount.Caption = "Congratulations! $100" Win.Shape1.Visible = True Win.Label1.ForeColor = vbRed Timer1.Item.Enabled = False End Sub
I'm very new to visual basic so help would be tremendously appreciated, Thanks.




Reply With Quote