by Photonhelix (2 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Tue 20th June 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Make a clock on your forms. Shows hours, minutes, and seconds. Looks like this: 12:00:00 PM
2) add a Timer.
Place this code on the timer:
Private Sub Timer1_Timer()
Label1.Caption = Time
End Sub
3) Place this code on the Form_Load action:
Private Sub Form_Load()
Label1.Caption = Time
End Sub
Note: Timer Interval must be set to 1000
No comments have been posted about Make a clock on your forms. Shows hours, minutes, and seconds. Looks like this: 12:00:00 PM. Why not be the first to post a comment about Make a clock on your forms. Shows hours, minutes, and seconds. Looks like this: 12:00:00 PM.