By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,481 Members | 1,213 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,481 IT Pros & Developers. It's quick & easy.

How to code a Kill Switch (to limit access to program)

P: 4
Hi, I hope you can help me. I have a program I am developing and I want to be able to limit the time or the amount of times a user can access it. Someone I know wants to try the program out; however, I do not want them to have full access to it until we have come to an agreement. Is there a way to limit the amount of times or the timeframe the program can be run? For example, allow the program to be run 50 times or until a certain date.

I was thinking about on the form load, having an if statement like if date > whatever date, load the program, if not, end the program. However, I would assume if they change the sysdate, it wouldn't work.

Any ideas on this?

Thanks!
Oct 22 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.