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.
Printable View
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.
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
I've not tried this code, so it might need re wording slightly!Code:IF Date > DateAdd (d,30,filedatetime("FILE.EXE")) then
PS, I wouldnt have a clue how to stop a file being copied, though
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.