> Has anyone got a way of timing out a project so it wont run > after say 30 days, on a Projector run from CD rom. Projector Expiration 101: When your projector runs, check to see if you've previously written a 'date file' on the user's drive. If your app doesn't find the file, use FileIO to create it and write string(the systemDate + 30) to it. This will mark the expiration date. If your app _does_ find the file, you'll know it's not the first launch, so read the contents of the file instead & compare it with the current systemDate. This is basic, and it's crackable if the user sets the system clock back. To combat this, check to see if the systemDate is prior to the original expiration. If it is, someone set the clock back, so you can set a flag in the file to let your app know on all subsequent launches to exit. Hope this is useful, Rob /********************************* * Rob Wingate, Software Human * * http://www.vingage.com * * mailto:[EMAIL PROTECTED] * *********************************/ [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and helping with programming Lingo. Thanks!]
