I_R_Lee
Well-known member
If anyone is making software and putting out an evaluation version, heres something I figured out on how to store uses etc.
Put this code in the form load event:
But make sure you put this code:
RIGHT at the top of all of your code.
I havent found a way to beat it yet. Also, make sure you store the keys in some strange place and give them a name that has NOTHING to do with your program name, but so they fit in with the surrounding keys.
Hope this helps!
Put this code in the form load event:
Code:
If Var1 < Var2 Then
Var1 = Var2
ElseIf Var2 < Var1 Then
Var2 = Var1
End If
Var1 = Registry.ClassesRoot.GetValue([i]KeyName[/i], 1)
Registry.ClassesRoot.CreateSubKey([i]KeyName[/i])
Registry.ClassesRoot.SetValue([i]KeyName[/i], Var1 + 1)
Var2 = Registry.ClassesRoot.GetValue([i]Key2Name[/i], 1)
Registry.ClassesRoot.CreateSubKey([i]Key2Name[/i])
Registry.ClassesRoot.SetValue([i]Key2Name[/i], Var2 + 1)
If Var1 >= [i]Limit[/i] Or Var2 >= [i]Limit[/i] Then
MsgBox("Your time is up!")
End
End If
Code:
Imports Microsoft.Win32
I havent found a way to beat it yet. Also, make sure you store the keys in some strange place and give them a name that has NOTHING to do with your program name, but so they fit in with the surrounding keys.
Hope this helps!