VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Evaluation Version

by Kurt Koenig (4 Submissions)
Category: Miscellaneous
Compatability: VB Script
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (13 Votes)

This program shows you how to use a form in your own program that shows a "evaluation period" window (view screenshot) that allows the user to evaluate your program for a certain time. This one cannot be cheated with by setting the system time back to an earlier date. The registration code is case sensitive. You can alter the location of the generated control file and the length of the evaluation period in the code. Everything is well commented.
UPDATE: I've found out that this did not work with all the possible different local settings because I used Cdate to compare a date string to the system date. So I've included a module with some functions to get the local settings (thanks to Julien Brunelle, I found his code somewhere else on this site)

Inputs
You can alter the location of the generated control file and the length of the evaluation period in the code. Everything is well commented.
Assumes
This program writes a control file with the date when the program is first used + a certain number of days added to that date in it. It then checks the date on startup. If the system date is later than the date in the file the evaluation period is over. When the system date is before the creation date of the file, it was changed so the evaluation period is also over...

Rate Evaluation Version

Upload

Download this snippet    Add to My Saved Code

Evaluation Version Comments

No comments have been posted about Evaluation Version. Why not be the first to post a comment about Evaluation Version.

Post your comment

Subject:
Message:
0/1000 characters