How to make a database expire

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jacc14
    New Member
    • Jun 2007
    • 116

    How to make a database expire

    Hi

    I would like to pass on a demo of my own database (MDE) for a customer. However I want to protect it so that after a few days it will expire so they cant use it again without actually buying it.

    On the version I have , I have wrote in the code that after a certain date a message will appear to say it has expired and then it will automatically close. This is open to abuse however as if they are clever enough, if they amend the computer date then its still usable.

    Does anyone have any other clever ideas for this that doesnt rely on the date?.

    thanks
    Jacc14
  • dsatino
    Contributor
    • May 2010
    • 393

    #2
    First, turn of the 'shift' bypass, the menu bars, and the hot key combinations that allow access to the code modules.

    Once you've done this, there's really no way to avoid any AutoExec macros that you have the database set to run and no way to access the backend code. (be sure to leave yourself a way in)

    From here you can be as creative as you'd like. But if you want to avoid dates all together, you'd probably want to do something along the lines of a usage count where every time the DB is opened the count is modified.

    Comment

    • jacc14
      New Member
      • Jun 2007
      • 116

      #3
      Thanks for this. Great idea. I will look tonight
      Cheers
      Chris

      Comment

      Working...