Page 1 of 1
date/time limit (trial)
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon May 21, 2007 4:05 pm
by Nop
HI, someone has an sample of time/date limit of use, like trial version? thanks
Re: date/time limit (trial)
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon May 21, 2007 5:32 pm
by Enrico Maria Giordano
Something like this?
- Code: Select all Expand view
IF DATE() > CTOD( "XX/YY/ZZZZ" )
// Expired
RETURN NIL
ENDIF
EMG
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon May 21, 2007 5:38 pm
by Nop
Enrico, yes, but after expired, write in windows registry or create an file , to not execute again.
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon May 21, 2007 5:43 pm
by Enrico Maria Giordano
What is the problem?
EMG
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon May 21, 2007 5:58 pm
by Nop
Enrico, after expired date, i need save it , using windows registry or an file... i need an sample, you have?
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon May 21, 2007 6:01 pm
by Enrico Maria Giordano
You can use MEMOWRIT() or FCREATE() to create files. I don't recommend to write in the registry.
EMG