You are viewing our Forum Archives. To view or take place in current topics click here.
visual basic help timer tick help (Kinda Urgent)
Posted:

visual basic help timer tick help (Kinda Urgent)Posted:

Majesticfalcon
  • Resident Elite
Status: Offline
Joined: Jan 02, 201213Year Member
Posts: 232
Reputation Power: 8
Status: Offline
Joined: Jan 02, 201213Year Member
Posts: 232
Reputation Power: 8
How do you do this... i want the time to go at a interval of 1 and when the time gets to be above 5 then i want checkbox1.checked = true now what is the "." command i need like timer1.tick > 5 = true doesnt work and timer1.interval > 5 = true doesnt work so what do i put after timer1. to make it do what i want
#2. Posted:
gartland1
  • New Member
Status: Offline
Joined: Apr 11, 201212Year Member
Posts: 27
Reputation Power: 1
Status: Offline
Joined: Apr 11, 201212Year Member
Posts: 27
Reputation Power: 1
Not the best way but here is one:

(put in the trick timer)


        For i = 1 To 5
            Thread.Sleep(1000)
        Next
        CheckBox1.Checked = True
        Timer1.Enabled = False



(put this in the button click)

 Timer1.Enabled = True


Hope it helps
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.