Apr 12, 2005 #1 L 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
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
Apr 12, 2005 #2 D Diesel Contributor Joined Aug 18, 2003 Messages 662 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)
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)