- Home
·
- Miscellaneous
·
- Make a clock on your forms. Shows hours, minutes, and seconds. Looks like this: 12:00:00 PM
Make a clock on your forms. Shows hours, minutes, and seconds. Looks like this: 12:00:00 PM
Make a clock on your forms. Shows hours, minutes, and seconds. Looks like this: 12:00:00 PM
Rate Make a clock on your forms. Shows hours, minutes, and seconds. Looks like this: 12:00:00 PM
(1(1 Vote))
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
Make a clock on your forms. Shows hours, minutes, and seconds. Looks like this: 12:00:00 PM Comments
No comments yet — be the first to post one!
Post a Comment