How to create Registry Dword Value and How to create Trial Version in VB Project ?

Showing Answers 1 - 3 of 3 Answers

Registry Entry can be created using the API Functions:
RegCreateKey, RegSetValueEx and RegCloseKey. I can't remember the parameters that are passed to these functions.

Trial Version of VB Projects can be created using several tricks; there are no fixed rules.
First way, you can programmatically create an encrypted file at the time of running the application for the first time and store it in some hidden location. Inside this file store the date of first use and number of uses for the software(Use encryption if possible). Whenever the software running after 30 days(say you are giving 30 Day evaluation period), it will retrieve the first day of running from the hidden file and compare it with the current date. If date difference becomes more than 30 then software will not run.

Second way, you can implement the same kind of restriction by using system registry also.

Third way, you can also take help of an extra table(fields of which) will store this information if you are developing with a database.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions