Show tim in statusbar...

lidds

Junior Contributor
Joined
Nov 9, 2004
Messages
210
I'm having a bit of trouble trying to display the time in the status bar so that it updates automatically to the current time.

Can anyone help me and give me an example of how to do this in vb.net?

cheers

simon
 
The easiest way (may not be the most efficient)..drop the statusbar and a timer on the form, enable the timer and set the tick event to

StatusBar1.Text = String.Format("The current time is {0:T}", DateTime.Now)
 
Back
Top