Exclamation[Help] Textbox Reset Once a day

Posts 12 of 2 · Page 1 of 1
[Help] Textbox Reset Once a day
Now right section

I´m looking for a source code to my program it is a countdown program, When time reaces 0 then it logg off and my Question is :




I want the program to regonize a new day like when the clock is midnight! like a reset, 50 is Standard every day....

Ok, let´s say it´s a new day now i want this code to go on once a day-->


textbox1.text = 50


( ONLY ONCE A DAY,not 2 times textbox changes to 50)

Hope you understand what I need help with, or feel free to ask..
Quote Originally Posted by Zoom View Post
Now right section

I´m looking for a source code to my program it is a countdown program, When time reaces 0 then it logg off and my Question is :




I want the program to regonize a new day like when the clock is midnight! like a reset, 50 is Standard every day....

Ok, let´s say it´s a new day now i want this code to go on once a day-->


textbox1.text = 50


( ONLY ONCE A DAY,not 2 times textbox changes to 50)

Hope you understand what I need help with, or feel free to ask..
I don't understand, but if you mean that every time the time gets to midnight, the textbox goes blank, than all you need is 2 timers, and 1 label...

here is the code:

Timer1:
Code:
Label1.Text = TimeOfDay
Timer2:
Code:
If Label1.Text = 12:00:00 AM Then
TextBox1.Text = ""
AND MAKE SURE BOTH TIMERS ARE ENABLED!
Posts 12 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?