We are rebuiding our website. Please check back soon!
.:MENU:.  
  Homepage
  News
  Google search
  Jordey Search
  Guestbook
  YouTube
  JordeySystems
  Links
  E-mail
  Newsletter
  Vote
  Games
  Map
  Forum
  Fotoalbum
  Chatbox
  Visitors
  Problems?
  Sponsors
  Toplist
Copyright © 2007.All Rights Reserved.
Forum
=> Not registered yet?

Forum - Tutorial:How to make a clock in VB6

You are here:
Forum => Visual Basic => Tutorial:How to make a clock in VB6

<-Back

 1 

Continue->


Jordey
(14 posts so far)
11/22/2007 7:52pm (UTC)[quote]
Hi,This is a tutorial how to make a clock in VB6.Ok,lets begin.Start Vb6,Choose Standard EXE.Now you will see an empty form.Make three textboxes:1 for hour,1 for minutes and 1 for seconds.Empty them.Now insert a timer.Select the timer and set the Interval to something between 1 and 1000.Double-click on the timer now,and type in this code:

text1.Text = Hour(Now)
text2.Text = Minute(Now)
text3.Text = Second(Now)

Done!



Total topics: 15
Total posts: 14
Total users: 10821
Online now (registered users): Nobody crying smiley
 
Total,there have been 705554 visitors.Thanks!
Clock  
   
Other links  
  Jordey24 @ DeviantArt  
Google search  
   
This website was created for free with Own-Free-Website.com. Would you also like to have your own website?
Sign up for free