Click here to Skip to main content
15,890,845 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am developing a software in vb.net . Then I want to deployment to a customer. but he don't ready to give the payment of that software. he told me first he want a trail version. I am reedy to give him as a trail. I want to an expire date.. How to set that Expire date..?
I know only to give expire date using system time.. In that case he has a chance to change the System time and reuse.. How can I give 15 days Expire date..
any give me any idea about how to calculate days between Installed time to 15 days count..
Posted

 
Share this answer
 
I think that the problem here is to get the current date. For that you should read this[^] by SeaWater to get the date from a remote server.

If you can not get this date, you should not load the application.

Then, depending on you own logic compare this date to an "expiration" date you established.

As an alternative, you could enable the user to open the aplication for a limited number of times...

Best regards
 
Share this answer
 
There are several way by which you can achieve this..some are as follows..

1. Third party software to do so like SoftActive.

2. Check Data which is store by user in software with field Date, which cannot be delete by him. e.g. As you didn't mention you application type or category or 'for what purpose your application will be used.' Take example of Accounting software user always create Invoices, so he saves invoice no, date , grandtotal etc. in database. and this data will not be deleted by him because that will be required in every end of accounting year. So there you can track which date, he is using. No idea about other countries but in India, you can not create back dated invoices.

3. Save Date of installation in other format of file and keep that file some other place.
e.g. save date of installation in notpad and save that in some "windows/system32" folder.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900