|
Subject:
|
CREATE TRIAL BASE
|
|
Posted By:
|
Vision G
|
Post Date:
|
4/14/2008 3:34:14 PM
|
I HAVE CREATED A ACCESS BASE FOR A CUSTOMER BUT I' D LIKE TO BE 30 DAYS TRIAL AT FIRST.
COULD YOU HELP ME WITH THIS
|
|
Reply By:
|
mmcdonal
|
Reply Date:
|
4/15/2008 7:31:33 AM
|
You could do something simple like create a hidden form that launches when the application opens, and then checks the date. The first time it opens, it stores the date somewhere. If the date is greater than the initial date plus 30 days, then do Application.Quit, otherwise, open the main form and close the hidden form.
I would store the initial date in a label on the hidden form.
Then you need to turn the .mdb into a .mde to prevent anyone from messing with the code.
The issue is how the data entered by the customer during the trail period is retrieved. You might create a routine that retireves the data from the mde file, and check this first to see if that works.
Did that help?
mmcdonal
Look it up at: http://wrox.books24x7.com
|
|
Reply By:
|
Vision G
|
Reply Date:
|
4/16/2008 9:38:34 AM
|
YES I 'VE ALREADY DONE THAT, BUT I'M AFRAID THAT THEY MIGHT FIND THE WAY TO FIND IT! I DON'T KNOW!
tHANX a LOT FOR HELP MAYBE I LL DO THIS, I HAVEN'T OTHER OPTION!
|