Ask Experts Questions for FREE Help !
Ask
    MUHAIMEN's Avatar
    MUHAIMEN Posts: 44, Reputation: 1
    Junior Member
     
    #1

    Aug 21, 2008, 09:35 AM
    Auto clock
    Is there any code for real time clock which updating minute to minute? :)
    StaticFX's Avatar
    StaticFX Posts: 943, Reputation: 74
    Senior Member
     
    #2

    Aug 21, 2008, 09:45 AM
    just to show you how to do this.

    create a new form.
    add a label to it
    in the from properties, find Timer Interval and set it to 1000
    now go to the code...

    Private Sub Form_Timer()
    Label0.Caption = Format(Time(), "hh:mm:ss")
    End Sub
    MUHAIMEN's Avatar
    MUHAIMEN Posts: 44, Reputation: 1
    Junior Member
     
    #3

    Aug 21, 2008, 10:14 AM
    Thanks for the reply but I tried it was static. Is there any other code?
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #4

    Aug 21, 2008, 10:32 AM
    That works for me. Did you make sure to set the Timer Interval property?

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Clock [ 4 Answers ]

I bought a clock at a yard sale, it has (centurion) on the front, also (Korea), and on the back it has Korea stamped on it. It looks old, it is wooden, is a 35 day clock, with key and key holes for the time, and the chime, I think. It has a pendulam. I can't find any clocks made by Korea, or...

I have this clock I know nothing about? [ 3 Answers ]

I have this clock and I know nothing about it. I've looked inside and it says ansonia clock Co. patented June 14. 81 New York usa and then on the left hand side it says patented June 18 1888 or 82 (slightly rubbed off so can't tell) and on the right hand side it has the number 5 I am so...

Auto reposession/Default on Auto Loan [ 3 Answers ]

To whom could lend some immediate advice, I purchased a 2005 brand new vehicle in 2005. This automobile has been repossessed as of 5/07. In addition, I filed bankruptcy (Chapter 13) in 2006 to avoid this very problem, however that has been dismissed for lack of payments. My current...

Clock [ 2 Answers ]

Does the clock show a tewlve hour day


View more questions Search