Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 16 in printed book and digital formats -- plus a one-year subscription (beginning with 17.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 4.6

FEATURE

Trial Versions

Make your time-limited trial difficult to break

Issue: 4.6 (July/August 2006)
Author: Christian Schmitz
Author Bio: Christian Schmitz is the creator of the Monkeybread Software REALbasic Plugins.
Article Description: No description available.
Article Length (in bytes): 8,697
Starting Page Number: 31
Article Number: 4611
Related Link(s): None

Excerpt of article text...

This article is about some ideas on how to make a time-limited trial of an application. There are a few limits we have to keep an eye on and a few strategies on how to limit the user from resetting it too easily.

Where to Save Data

The first thing to do is to think about where to save the preference data. The preference data includes all the user settings and the information about your time limit. In a limited user account or with the user account on a network server you have only two real places for saving your preferences: the Preferences or Application Support folder. All other folders are likely to be read-only to the user. And no, you do not want to ask the user for an Administration Password to save your preferences in some other place!

There is always the risk that the user deletes your preference file to reset the time period. However, the user will not like to delete the file if you have some more data stored there and the configuration of the software takes some time. For example, a mail client could store the mail accounts with the time limit counter data so a deletion of the preference file requires the user to set up all the email accounts again.

...End of Excerpt. Please purchase the magazine to read the full article.