Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make a demo with expiration?
Message
 
 
To
07/09/2004 19:20:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00940139
Message ID:
00940179
Views:
21
>Hello, i need to give the demo of a program i made but i want that after 2 months doesn't work or allow to work, how can i do this?

Hi Edgar,

The first idea which comes to mind (no implementation details, idea only):

On the fisrt run of your application store the current date in the registry.
Each next run read this date and compare with today's date.

Disadvantage of this idea:
1) The application would work fine on another PC
2) Users can quite easily hack it.

================================
You can use the similar idea but with ini file instead of registry or with some file.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform