Link to home
Start Free TrialLog in
Avatar of amazed2
amazed2

asked on

VB Clock insertion

how do I insert a clock showing real time with seconds into a a picture. I can get the clock to show easy enough it is gettting it to continuely update like it does at the bottom right corner of windows on the taskbar?

lblTime.caption = time (shows only current time, static)
Avatar of mccainz2
mccainz2

you need to update the lbltime.caption on a timer event.
Add a timer to your form, set the interval to 1000 (1 second) and every time the timer event fires update your labels caption inside that event.
ASKER CERTIFIED SOLUTION
Avatar of mccainz2
mccainz2

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial