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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement