Click to See Complete Forum and Search --> : setting up expiry date of a program
rathi
Aug 7th, 2000, 06:55 AM
Hi everyone,
1. How to prevent the .exe prgram being copied by the user?
2. How to make the program to expire after a certain period?
Any suggesionts please.
Thanks in advance.
Jimbob
Aug 7th, 2000, 08:44 AM
Presumably you are doing a time limited demo of your app....
If you're distributing your app using Package & Deployment wizard or something like that, your files will have the installation date stamped on them as their creation date.
you can use the FileDateTime function to extract this stamp
You could then use the DateAdd function to calculate when the program is to expire, eg to see if it's more than 30 days since installation, use
IF Date > DateAdd (d,30,filedatetime("FILE.EXE")) then
I've not tried this code, so it might need re wording slightly!
PS, I wouldnt have a clue how to stop a file being copied, though
honeybee
Aug 8th, 2000, 01:18 AM
It seems you are into making your program cracking-proof. If so, check out http://www.activelock.com I got this URL from Megatron, so any thanks go to him. The site also has tips on making your software crackproof, besides some ActiveLock OCX that you can download for free.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.