here is i make a small application from vb.
i make a stop watch...
we can use object timer.
there are a few methods or properties that we must set if we want to use a timer.
they are: interval (to determine time interval of timer counting) and enabled (to run/stop timer).
here is some simple code to utilize timer object...
'vb code
private sub command1_click()
'set interval
timer1.interval=1000 '1000=1 second
'start timer
timer1.enabled=true
end sub
private sub command2_click()
'stop timer
timer1.enabled=false
end sub
click here to download full application...
Thursday, November 8, 2007
stop watch by vb
Diposting oleh adi_vb di 10:31 PM
Label: stop watch vb
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment