BLOGGER TEMPLATES AND TWITTER BACKGROUNDS »

Sep 14, 2009

toddaaaays lessonn :) 14.09.09 :D

well todaay mr lennon showed us how to do a timer on visual basic

Simple timer - and invisible object, that runs in a background of a form. :)

E.G-
if you set the interval to 1000 (1 sec) then evreey ssecond a timer event will occour :)

you can also

you can code what happens when the timer has been triggered, but you have to make sure that timers enabled properties are set to true! :)


more examplees :)

to define a VARIABLE the form : Dim clock as integer

and to :)

then you place the codes in :) -

clock = clock + 1

&

label 1.text = clock

you can also add buttons in for example start,stop,reset etc

anywwaays bells gonna goo byeee byeee
:D




0 comments: