Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prepare trial versions
Message
De
04/04/2004 03:13:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00892011
Message ID:
00892069
Vues:
17
Hi Terry,

Thanks you. Will try that out.

jw


>>Hi all,
>>
>>I would like to create a set of disks of my program for the user as a trial version so that the program has an expire date, say 3 months from the date of his installing the program, and the program will automatically invalidate itself (or simply won't run) after that expire date. How can that be achieved? Are there any free wares out there that can do this?
>>I am using VFP8.0 sp1.
>>Thanks
>>
>>jw
>
>I have used a home grown method. I have a "system" table with a 10 character text field.
>
>After install and at first run, the text field recieves a 10 character field designating the calculated expiration date in the format:
>"99-99-9999"
>
>When the license expires, the format (using original calculated expiration) is changed to:
>"99/99/9999"
>
>The next attempt to run the prg notices the "-" has changed to "/":
>IF "/"$cExpireDate
> * message to renew license
>else
> * allow user to run
>endif
>
>Cheap:) - but it works. Users attempting to modify the date will typicaly leave the "/" in -but regardless of the values, they still get kicked out.
>HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform