|
-
Feb 5th, 2005, 03:10 AM
#1
Thread Starter
Addicted Member
Trial / Demo Version
hi
i want to make a trial version of my product which would expire after 30 days of installation.
-
Feb 5th, 2005, 03:38 AM
#2
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
-
Feb 5th, 2005, 07:27 AM
#3
-
Feb 5th, 2005, 07:29 AM
#4
Hyperactive Member
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!
-
Feb 5th, 2005, 01:35 PM
#5
Thread Starter
Addicted Member
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 !
-
Feb 5th, 2005, 08:25 PM
#6
Hyperactive Member
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:
Public Sub RegisterOnce ()
SaveSetting "MyApp","Trial","Code","A"
End Sub
Public Sub Form_Load ()
Dim Var(2)
Var(0) = GetSetting ("MyApp","Trial","Code")
If Var(0) = "A" then
msgbox "You have 30 times remaining"
savesetting "MyApp", "Trial","Code", 1
ElseIf Var(0) = 30 then
msgbox "Trial expired"
end
Else
Var(1) = 30 - Var(0)
msgbox "You have " & var(1) & " times remaining"
savesetting "MyApp", "Trial","Code", Var(1) + 1
End If
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...)
-
Feb 5th, 2005, 08:45 PM
#7
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.
-
Feb 6th, 2005, 04:13 AM
#8
-
Feb 6th, 2005, 06:27 AM
#9
Thread Starter
Addicted Member
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 !
-
Feb 7th, 2005, 04:17 AM
#10
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|