Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to make a demo with expiration?
Message
 
 
À
07/09/2004 19:20:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00940139
Message ID:
00940179
Vues:
20
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform