View Full Version : Read Subscription Key Valid until date from Key
NewsArchive
02-26-2009, 01:53 PM
Hello Friedrich,
do you have any clarion code to read from with in my clarion app the "valid
until date" from the Subscription Key?
I like to display the end of subscription in my app like you in sb.
Thanks much and best regards
Kai
NewsArchive
02-26-2009, 01:53 PM
Kai,
> do you have any clarion code to read from with in my clarion app the
> "valid until date" from the Subscription Key?
>
> I like to display the end of subscription in my app like you in sb.
What you can do is to develop a small "helper" application in SetupBuilder
to handle this. SetupBuilder does NOT only generate installations ;-)
Create a blank script (File | New... | Blank Script...) and use the "Verify
Subscription Key..." function to retrieve the "expiration date".
The %_SB_RETURNEX% variable value holds two SetupBuilder List Items
containing the expiration date and expiration version of the subscription
key.
BTW, to get the expiration date (List Item #1) out of such a List, you can
use the "Handle String Operation (List Item: Get)" function.
Then write the expiration date to a file that can be accessed by your
application (using "Edit INI File..." or "Handle Text File Operation...").
From your application, call this helper application, read the expiration
date and display it, etc.
Hope this helps.
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
02-26-2009, 01:54 PM
Hello Friedrich,
thanks much.
I will try this.
Best regards
Kai
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.