VB - Clock
6:16
Added: 3 years ago
From: stiantofte
Views: 1,046
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (5)

Sign In or Sign Up now to post a comment!
  • Oh the enthusiasm!

  • didnt work!

  • The code: Public Class Form1 Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Dim a As String = My.Computer.Clock.LocalTime.Ho­ur Dim t As String = My.Computer.Clock.LocalTime.Mi­nute Dim r As String = My.Computer.Clock.LocalTime.Se­cond If t < 10 = ("0") Then Label1.Text = a + ":" + t + ":" + r End If End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Timer1.Start End Sub End Class
  • didnt work. rubbish tutorial

  • Thank you very much for the tutorial. Five Stars! I undertand everything except the if statement. You couldnt explain what that does could you?

  • just forget the if statement. i didn't work. but the clock it self work

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more