Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developed a project in Visual studio 2008 and database sql server 2005.My question is when client install a setup,the project will expire after 1 year.
How i can set this?
Plz help me!
Posted
Updated 12-Oct-12 21:36pm
v2
Comments
OriginalGriff 13-Oct-12 3:44am    
Don't bump your question again - it is rude and unnecessary.
Remember it is a Saturday, which is not a working day in most of the Western world, so traffic here is lighter than usual.

If you want to make your application to expire you should check this article on CodeProject.

Application Trial Maker[^]
 
Share this answer
 
You can use Registry for this purpose. When the application installs or loads for the first time check for a specific registry Key in computer's registry that you define in your application. If the registry key does not exist, set the value to current date. Every time when your application loads, check for the value of this registry key. If it is less than one year, proceed with the application else display the message to user.

Hope it helps!
 
Share this answer
 
Hi,

Please see my Answer in below discussion.

Trial Version security problem[^]

Thanks
 
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