VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Set Date Termination of a Program Example: Program runs until the day is 11/25/2005 then it termina

by Warpboy (1 Submission)
Category: Encryption
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 26th November 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Set Date Termination of a Program Example: Program runs until the day is 11/25/2005 then it terminates.

API Declarations


Join my forums at http://warp3dindustries.com if you want to learn more!


Rate Set Date Termination of a Program Example: Program runs until the day is 11/25/2005 then it termina



'Coded By Warpboy
Rem Email: [email protected] or [email protected]
Rem Website: Warp3dIndustries.Com
Rem This can be used for trial versions of your program etc...


'You need two TEXTBOXES & a TIMER with and interval of 1000

Private Sub Form_Load()
Text2.Text = "11/28/2005" 'Date on which to terminate Application
Text1.Text = Date
If Text1.Text = Text2.Text Then
End
Else
MsgBox ("Timed Termination") 'Put what you want in here
End If
End Sub

Private Sub Timer1_Timer()
Text1.Text = "Date"
End Sub


Download this snippet    Add to My Saved Code

Set Date Termination of a Program Example: Program runs until the day is 11/25/2005 then it termina Comments

No comments have been posted about Set Date Termination of a Program Example: Program runs until the day is 11/25/2005 then it termina. Why not be the first to post a comment about Set Date Termination of a Program Example: Program runs until the day is 11/25/2005 then it termina.

Post your comment

Subject:
Message:
0/1000 characters