View Full Version : Demo DB


sven2
05-15-2007, 11:39 AM
Hello,

can somebody help me with the following problem ...

How can I make a demoversion of my database?

What I want to do is when the database is started the first time the register date is saved into the database.

Then every time the database is open there should be a check on the register date + 30 days. If this date is expired then the database should close. Is this possible?

And more important is it possible that when somebody change te date in windows that this can be detected?

Beste regards,
Sven.

rainman89
05-15-2007, 11:51 AM
well im not sure how to set the first time it opens but what you could do is on open of the switchboard you could do
if dateadd("d",30,[firstopendate])>Date() then
Msgbox "Your 30 day trial has expired", vbokonly
application.quit
else
open and let it run
endif

rainman89
05-15-2007, 11:56 AM
Of course now tht i think about it you might be better off just deleteing everythign from your db because the other way, if they know anything about coding in dbs, they can bypass that and then youd be S.O.L.

GaryPanic
05-15-2007, 12:01 PM
some bright spark has done this - check samples on it

boblarson
05-15-2007, 12:08 PM
Whatever you go about doing, it probably will be easy enough to defeat, unless you take some major steps.

A third-party app is possibly what you would want, if it is worth it to you:
http://www.softsland.com/registration-code.html
http://registration-key.qarchive.org/