Show running time in label control in vb.net [Resolved]

Posted by Kundan under VB.NET on 4/30/2013 | Points: 10 | Views : 23204 | Status : [Member] | Replies : 2
Hi all,

Iam new to .net.I have a question below.

How to show running time in label control in vb.net windows application


Thanks




Responses

Posted by: Satyapriyanayak on: 4/30/2013 [Member] [MVP] Silver | Points: 50

Up
0
Down

Resolved
Set timer interval 100
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Timer1.Enabled = True
End Sub

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Label1.Text = Now.TimeOfDay.ToString()
End Sub


If this post helps you mark it as answer
Thanks

Kundan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Kundan on: 4/30/2013 [Member] Starter | Points: 25

Up
0
Down
Thank you

Kundan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response