Results 1 to 10 of 10

Thread: Trial / Demo Version

  1. #1

    Thread Starter
    Addicted Member hyousuf2's Avatar
    Join Date
    Dec 2004
    Location
    Dublin
    Posts
    226

    Trial / Demo Version

    hi
    i want to make a trial version of my product which would expire after 30 days of installation.

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Trial / Demo Version

    You may want to take a look at ActiveLock. I have heard good things about it.

    http://www.activelock.com/index.html

    Hope it helps

  3. #3
    Hyperactive Member DarkX_Greece's Avatar
    Join Date
    Jan 2004
    Location
    Athens (Greece)
    Posts
    315

    Re: Trial / Demo Version

    Well, do something easier than using a third party activex!
    Play with date and registry!

    During the installation of the program, it will save the date of the installation!
    Then everytime the program starts it will check the date and if it is > 30 days then it will be expired!

    At the registry try to save the installation date , encrypted so noone can change it!

    OR try dglienna's way!

    Short CV:
    1. Visual Basic 6 Programmer
    2. Web Expert


    Botonakis Web Services

  4. #4
    Hyperactive Member DarkX_Greece's Avatar
    Join Date
    Jan 2004
    Location
    Athens (Greece)
    Posts
    315

    Re: Trial / Demo Version

    sorry.....As i saw at ActiveLock, the program is now open source! Well, it's better to use activelock then, and you won't have to worry about enrypted dates and things like that!

    Sorry dglienna, i didn't know it!
    Short CV:
    1. Visual Basic 6 Programmer
    2. Web Expert


    Botonakis Web Services

  5. #5

    Thread Starter
    Addicted Member hyousuf2's Avatar
    Join Date
    Dec 2004
    Location
    Dublin
    Posts
    226

    Re: Trial / Demo Version

    well just as i saw the first reply from dglienna i downloaded the ActiveLock, but the problem is i dunno how to use it n neither i know how to save information in registries or sumthing like dat, i dint find the samples enough explanatory, therefore if one of u can tell me simple those methods i need to use !

  6. #6
    Hyperactive Member DarkX_Greece's Avatar
    Join Date
    Jan 2004
    Location
    Athens (Greece)
    Posts
    315

    Re: Trial / Demo Version

    A very simple way to do all these but not for 30 days but for 30 openings of the program is:

    VB Code:
    1. Public Sub RegisterOnce ()
    2. SaveSetting "MyApp","Trial","Code","A"
    3. End Sub
    4.  
    5. Public Sub Form_Load ()
    6. Dim Var(2)
    7. Var(0) = GetSetting ("MyApp","Trial","Code")
    8. If Var(0) = "A" then
    9. msgbox "You have 30 times remaining"
    10. savesetting "MyApp", "Trial","Code", 1
    11. ElseIf Var(0) = 30 then
    12. msgbox "Trial expired"
    13. end
    14. Else
    15. Var(1) = 30 - Var(0)
    16. msgbox "You have " & var(1) & " times remaining"
    17. savesetting "MyApp", "Trial","Code", Var(1) + 1
    18. End If
    19. End Sub

    I don't if it will work, but it should...! If you want i could make a better code for you, but i need some time!
    Ok?(Don't forget to tell me if the code worked and if you need a better one, that works for sure!You can also rate my vote...)
    Short CV:
    1. Visual Basic 6 Programmer
    2. Web Expert


    Botonakis Web Services

  7. #7
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Trial / Demo Version

    I can help you if you want to use ActiveLock. It's a bit more involved, but they've been doing this for a lot of people, and it is relatively foolproof.
    I downloaded a program with settings like that. The problem is that if I remove the key from the registry, it tells me that I still have 30 days left to use the program!

    I haven't used ActiveLock, but did download it.
    Last edited by dglienna; Feb 6th, 2005 at 01:00 AM.

  8. #8
    Hyperactive Member DarkX_Greece's Avatar
    Join Date
    Jan 2004
    Location
    Athens (Greece)
    Posts
    315

    Re: Trial / Demo Version

    I made the code for you!

    I can be trial for 30 days! You can register it and stop the trial! It can save the trial info, encrypted! And it works fine! Tested many many times!

    Also it too small in size and it is only code, not ActiveX or any dll's!

    Please rate if you like the code!
    And if you want something more then let me know...
    Attached Files Attached Files
    Short CV:
    1. Visual Basic 6 Programmer
    2. Web Expert


    Botonakis Web Services

  9. #9

    Thread Starter
    Addicted Member hyousuf2's Avatar
    Join Date
    Dec 2004
    Location
    Dublin
    Posts
    226

    Resolved Re: Trial / Demo Version

    well thankx alot Darkx greece, u did a gr8 a job, well thanks to dglienna also for activelock .. i started to use it but dint get much hang of it... but as darkx has used jus da codeing without ne activeX , then i guess this would be ne body's optimum choice.. n i would advise others around here as welll to give that code a try ... its working prefect !

  10. #10
    Frenzied Member dis1411's Avatar
    Join Date
    Mar 2001
    Posts
    1,048

    Re: Trial / Demo Version

    with vb you have to distrubute ocx's anyway, 1 more isn't that far of a leap.

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