|
-
Mar 5th, 2010, 04:40 AM
#1
Thread Starter
New Member
How to lock a button until next day?
I'm trying to make this simple program in visual studio 2008.
It's for a pocket pc
It's with a randomizer, where you press a button, and it'll pick a random sentence.
Then made a variable with 10 random sentences, that's all good and working BUT i would like you to be able to only press the button once a day, and then lock it, and then it will ofcourse get unlocked the next day.
For example you press button at 4 pm, then it'll get locked until 12 @ midnight, then unlocks, and process restarts.
So you will have sentence a day, and no more.
If you have any idea about this, i would appreciate some help, havent been able to find anything about it unfortunately.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|