how to make a trial software
-
Hello, I need my project to expire after 30 days of use. How can I do this? If you dont have the code just tell me the process to make it a trial one then I'll research a little more. Thanks in advance :) adol
-
Would your app. connect to the internet? Cheers, Simon "Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond
-
Hello, I need my project to expire after 30 days of use. How can I do this? If you dont have the code just tell me the process to make it a trial one then I'll research a little more. Thanks in advance :) adol
There are several ways to do this, however one of the simpilest ways is to store a value in the registry (i.e. - installation date) and then when the application loads everytime you can grabb that value from the registry and check using
DateDiff
to see if time has expired. There is a lot of code out there explaining how to use the registry in your application so I won't go into the details, but again this is just a suggestion. HTH Nick Parker -
There are several ways to do this, however one of the simpilest ways is to store a value in the registry (i.e. - installation date) and then when the application loads everytime you can grabb that value from the registry and check using
DateDiff
to see if time has expired. There is a lot of code out there explaining how to use the registry in your application so I won't go into the details, but again this is just a suggestion. HTH Nick ParkerThank you very much for your help Nick!!! Maybe this is the easiest way to do it. Somebody told me I can use the Hard Disk serial number or something like that to control the use of an app, does anybody knows what he was talking about? Best regards, adol
-
There are several ways to do this, however one of the simpilest ways is to store a value in the registry (i.e. - installation date) and then when the application loads everytime you can grabb that value from the registry and check using
DateDiff
to see if time has expired. There is a lot of code out there explaining how to use the registry in your application so I won't go into the details, but again this is just a suggestion. HTH Nick ParkerI would strongly reccomend encrypting or hiding the date if it is in the registry even if you only do somthing simple like XORing the value. Otherwise, it's realy easy to modify the registry entry to make the program work forever. If you need more explanation, just reply.
-
I would strongly reccomend encrypting or hiding the date if it is in the registry even if you only do somthing simple like XORing the value. Otherwise, it's realy easy to modify the registry entry to make the program work forever. If you need more explanation, just reply.
I was only giving an example of a method to limit application life, there are of course other ways (i.e. - including encryption) that are better. Nick Parker