VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Evaluation Version

Kurt Koenig  (4 Submissions)   Miscellaneous   VB Script   Intermediate   Wed 3rd February 2021

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 (13(13 Vote))
Evaluation Version.bas

Evaluation Version Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters