feedburner
Enter your email address:

Delivered by FeedBurner

feedburner count

Make Clock

Labels:


This is a tutorial how to make a clock in Visual Basic 6.0 showing time & date. Open Vb6 and select STANDARD .EXE . Make 6 Text Boxes , 6 Labels , and 1 Timer , like me.
Oke , now set the timer interval to 1000 (1 second) and write :

Private Sub Timer1_Timer()
Text1.Text = Hour(Now)
Text2.Text = Minute(Now)
Text3.Text = Second(Now)
Text4.Text = Day(Now)
Text5.Text = Month(Now)
Text6.Text = Year(Now)
End Sub

Thats all. Very easy ha? :P Test it now.! It works !
If u have any questions ,suggestions , if u find a bugs or anything else just comment.




0 comments:

Post a Comment