Jump to content
Sign in to follow this  
larry9000

VB 2010 Button Question.

Recommended Posts

Hello guys.

If anyone is good with this pleaser read it.

I've been needing a small answer to my question for a while. My question is

" How do I make it so if you click on the button once, it says a certain message and if you try clicking it again, it says something different? Then after 24 hours it resets back to the first message? "

For example. I am creating a program that gives a certain amount of GP to a game. Well I am trying to make it so if they click on a certain amount of GP, they can only click on it once every 24 hours. So the first message is "Congratulations, you now have " GP ADDED" to your account.".

If they clicked it already it says "Sorry, you have already earned your desired amount of GP today, please come back in 24 hours for some more."

Please help me A.S.A.P

Share this post


Link to post
Share on other sites
Please help me out peops???

Share this post


Link to post
Share on other sites
if statements, and a timer of some sort.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×