VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Show Name of your Program ,Date and recent running Time in your Title bar

by Patrick Lockefeer (X) (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 15th August 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Show Name of your Program ,Date and recent running Time in your Title bar

API Declarations


'Author Patrick Lockefeer
'European date : 15-08-2005
'Please see my other snippets on page 607,609,610 and this page (611)

'Control needed : Timer Name : Timer1
'Properties settings :
'Form WindowState : 2-Maximized
'Timer Interval property : 1000 (is one second)
'Timer enabled property : True



Rate Show Name of your Program ,Date and recent running Time in your Title bar



Private Sub Timer1_Timer()

'Note : Change "Name of your Program  " in your own Title
Me.Caption = "Name of your Program  " & " --  " & Format$(Date, "DD:MM:YYYY") & "  --  " & Format$(Now, "HH:MM:SS")

End Sub


Download this snippet    Add to My Saved Code

Show Name of your Program ,Date and recent running Time in your Title bar Comments

No comments have been posted about Show Name of your Program ,Date and recent running Time in your Title bar. Why not be the first to post a comment about Show Name of your Program ,Date and recent running Time in your Title bar.

Post your comment

Subject:
Message:
0/1000 characters