|
-
Nov 12th, 1999, 10:59 PM
#1
Thread Starter
New Member
IM DOING A PROJECT AT SCHOOL AND I NEED TO HAVE THE DATE & TIME SHOWING AND RUNNING. I NEED THE CODE TO DO THIS. PLEASE HELP THIS IS A VERY IMPORTANT FINAL PROJECT..
-
Nov 12th, 1999, 11:06 PM
#2
Guru
Put a timer (Timer1) and a label (Label1) on your form, and add this code:
Private Sub Form_Load()
Timer1.Interval = 100
Timer1.Enabled = True
End Sub
Private Sub Timer1_Timer()
Label1.Caption = Now
End Sub
------------------
Yonatan
Teenage Programmer
E-Mail: [email protected]
ICQ: 19552879
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|