Creating 30-Day Trial Applications

Question:
I am Web site developer assisting a Visual FoxPro developer in distributing his creation via the Internet. He wants to create a 30-day trial version for distribution in this way. Does Visual FoxPro have any kind of canned modules available that would do this sort of thing or is he going to have to build it in from scratch?

Answer:
Visual FoxPro has a wizard called the Setup Wizard that builds media (disks, network installs, etc.) that can be used to install the VFP application. It does not have the ability to make 30-day trial versions, however.

Here are some suggestions:

  • The VFP developer could develop the application so that it checks for the existence of a file or registry or INI setting. If that setting is there or exists then the application is in 30-day mode: the application can store the date of the first access of the application and then check every time the application is run to see whether the 30 days are over.
  • A simpler approach might be to rename the executable. For example, if the executable for the full product is RICK.EXE, name RICKDEMO30.EXE. The application could check the name of the EXE running and track the date of first access (as mentioned in the previous bullet item) if the word “DEMO” is in the EXE name. Further, it could check the number following the word “DEMO” and use that as the number of days of evaluation.
  • Yet another approach would be to take advantage of the Setup Wizard’s “post-setup executable” option. You can tell the Setup Wizard to run another executable after the product is installed. The VFP developer could create a post-executable which would set up the trial environment (registry setting, INI setting, etc.).
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

microsoft careers

Top Careers at Microsoft

Microsoft has gained its position as one of the top companies in the world, and Microsoft careers are flourishing. This multinational company is efficiently developing popular software and computers with other consumer electronics. It is a dream come true for so many people to acquire a high paid, high-prestige job

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a

chrome os developer mode

How to Turn on Chrome OS Developer Mode

Google’s Chrome OS is a popular operating system that is widely used on Chromebooks and other devices. While it is designed to be simple and user-friendly, there are times when users may want to access additional features and functionality. One way to do this is by turning on Chrome OS