Search Tools Links Login

A Extremely Easy Clock


Visual Basic 6, or VB Classic

This code is the easiest clock ever... The code doesnt get any easier. If you like it vote for it.

Original Author: Philip Beam

Assumptions

You need a Timer (named Timer1) and a label (named Label1)... Do not rename the form. Leave it Form1.

Code

Private Sub Form_Load()
  Timer1.Interval = 1
End Sub
Private Sub Timer1_Timer()
  Label1.Caption = Time
End Sub

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 113 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.