Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4

Thread: Expiration date

  1. #1
    Join Date
    Jan 2007
    Posts
    9

    Grin Expiration date

    Hi Everybody,

    I need and example of expiration date.........to allow AMS work until the day setted.

    For example, I need to allow to use the project until 31/8/2007, and after this day, the project wouldn´t open.

    Besides, I need to know how to ignore if the use change the machine date....

    Thanks a lot.

  2. #2
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770

  3. #3
    Join Date
    Jan 2007
    Posts
    9

    Cool

    Hi Bobbie,

    Thanks for the answer, but it´s no i´m looking for.

    I want to establish a certain day, not 30 days trial.

    Thanks-

  4. #4
    Join Date
    Feb 2006
    Location
    syria
    Posts
    44
    --Input your expiration date here, format YYYYMMDD


    --(no spaces, dashes, slashes, etc. just use numbers)


    --Below is the date Dec 12, 2003


    Expiration_Date = "20031212"





    --Get the system date in ISO format


    --Date = YYYY-MM-DD


    Date = System.GetDate(DATE_FMT_ISO);





    --Remove the dashes in the ISO format date


    --to reflect the format of our expiry date


    --Date == YYYYMMDD


    Date = String.Replace(Date, "-", "", false);





    --test to see if the application is expired


    if Date > Expiration_Date then


    --The application has expired


    Dialog.Message ("", "application is expired");


    Application.Exit();


    end

Similar Threads

  1. Setting my Application to Expire After a Certain Date
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 10-01-2003, 02:59 PM
  2. HOWTO: Make an AutoPlay Application Expire
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-09-2002, 10:10 AM
  3. Expiration date
    By bosko in forum AutoPlay Menu Studio 3.0
    Replies: 2
    Last Post: 05-18-2002, 12:08 PM
  4. I can not enable menu expiration date. HELP
    By Holder in forum AutoPlay Menu Studio 3.0
    Replies: 2
    Last Post: 01-19-2001, 01:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts