CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2002
    Posts
    278

    Create an evaluation EXE?

    Does anyone know how to create an evaluation EXE in VB 6? An EXE that will only run for a set number of days.

    I've already considered writing something to the registry but it seems to easy to determine what was written. One could keep resetting the registry setting or change their PC date. Are there ways to safeguard against this?

  2. #2
    Join Date
    Aug 2001
    Posts
    1,447
    topic has been beaten to DEATH on many VB forums, so do a forum search
    phinds
    vs2008, 3.5SP1 Version 9.0.21022.8 RTM

  3. #3
    Join Date
    Jul 2003
    Location
    I'm Here!
    Posts
    31
    One solution is to save the compiled date in an INI file or Registry in an encrypted format.

    On form load, compare the date to the encrypted date last stored and if it is less than the encrypted date, you know the user has changed the date on their PC......Boot'em out!

    On form unload or while exiting the program, overwrite the current date in an encrypted format. Start cycle all over again.

  4. #4
    Join Date
    Nov 2002
    Posts
    278
    Thanks Confucius. Some helpful suggestions. Other suggestions are certainly welcomed.

    I can’t find much info on any searches. Phinds mentioned that it has been beat to death. Does anyone know a URL that describes how to make eval EXE’s?
    Last edited by DinoVaught; August 13th, 2003 at 03:45 PM.

  5. #5
    Join Date
    May 2002
    Location
    Montreal
    Posts
    450
    I tried to create my own demo control, but due to fast approaching deadlines, we decided to use a third party component that we add to our project.
    It allows you to restrict how many times or how long your software can be used.

    We are using VBOLock.
    http://www.moonlight-software.com It works OK.
    They came up with another product, with which no modification to your code is required.

    Do a search on www.download.com for shareware, you'll find quite a few products for that purpose.

    hth
    Cheers,
    Laurent

    For an aviator, the three best things in life are a good landing, a good orgasm, and a good sh*t. A night carrier landing is one of the few opportunities to experience all three at the same time.

  6. #6
    Join Date
    Feb 2003
    Location
    Greece
    Posts
    533

    suggestion

    Check out this link and download the file nslock15vb6.ocx, ONLY IF THE ZIPPED PACKET IS LEGAL.

    I just found it after an internet search, the fact that the list includes some other common VB controls, maybe makes it freeware too.

    Please, if it is some hacked version DO NOT USE IT.

    I've already tested the version for VB5 (working version from a magazine's cd-rom), nslock15vb5.ocx, its incredibly friendly for making evaluation programs. Includes a function for checking if the user has turned back system date in purpose, among other usefull utility commands.

    http://it.msnusers.com/zonehack/ampll.msnw
    Last edited by dtv; August 13th, 2003 at 07:47 PM.
    - Better live in the digital world -

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured