Click here to Skip to main content
15,906,569 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How would I go about writing a program to periodically pop a window for a license agreement say every 30 days? In other words, I would want the program to start initially with the license agreement (user clicks "I agree" and then every 30 days "expire" and the window would pop up when the user tries to run the program, otherwise the program is non-functional. Any pointers would be appreciated.
Posted

1 solution

You can either put the date in the registry, or in the settings file, and check the date everytime the application starts. Just create a modal window (dialog) when your program starts if the time has expired, and if the user does not agree, exit the program.
 
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