<div style='background-color: none transparent;'></div>

Pages

Home » , » Countdown Timer of Hours, Minutes and Seconds using Timer

Countdown Timer of Hours, Minutes and Seconds using Timer

CODE

Option Explicit

Private AlarmTime As Date

Private Sub Form_Load()
    AlarmTime = DateAdd("h", 2, Now)
End Sub

Private Sub Timer1_Timer()
Dim txt As String

    txt = Format$(AlarmTime - Now, "h:mm:ss")
    Label1.Caption = txt
End Sub

Click Timer Activity to Download the Full Project of this Program then try it on your own...
Share this article :

No comments :

Post a Comment

 
Copyright © 2011. datasavvy . All Rights Reserved
Company Info | Contact Us | Privacy policy | Term of use | Widget | Advertise with Us | Site map
Template Modify by Creating Website . Inpire by Darkmatter Rockettheme Proudly powered by Blogger