I want to be able to display current time in a label (lblTime) where it is updated every second. I have a Timer control on my form set to 1 second interval. Thanks for any help!
In FormLoad event:
Timer1.Interval = 1000
Timer1.Enabled = True
In Timer1_Timer:
lblTime.Caption = Time
You might look at Status bar control Style property as well! Let me know if this helps
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'People who live in windowed environments shouldn't cast pointers.'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.