Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 14th, 2008, 03:34 PM
Authorized User
 
Join Date: Apr 2006
Posts: 46
Thanks: 0
Thanked 1 Time in 1 Post
Default CREATE TRIAL BASE

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

 
Old April 15th, 2008, 07:31 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

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
 
Old April 16th, 2008, 09:38 AM
Authorized User
 
Join Date: Apr 2006
Posts: 46
Thanks: 0
Thanked 1 Time in 1 Post
Default

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!






Similar Threads
Thread Thread Starter Forum Replies Last Post
install VS 2008 Trial errors mikealdrich Visual Web Developer 2008 1 December 23rd, 2008 12:03 PM
d.base MathLearner VB Databases Basics 1 May 17th, 2007 07:39 AM
Writing trial programs selorm .NET Framework 2.0 1 May 4th, 2007 06:43 AM
how to create data base at run time al-hijjawi ADO.NET 2 April 16th, 2006 09:55 AM
Free jsp chart component(not trial) jetbrains JSP Basics 0 March 24th, 2006 01:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.