-
Hi all,
I'm trying to make a program that changes the wall paper at set periods of time (don't ask why hehe). The problem is that if I loop it to check the time, it locks the process up and I can't quit it. Is there an API or some other way where I can get it to constantly moniter the time while I can still operate GUI of the form?
ie... the on button starts the loop
but I need to press the off button to stop it... and when it's alreayd looping it won't let me touch anything else.
Any suggestions?
-
1. solution: you could use DoEvents to free process.
2. sol: use a timer! a timer runs in background, so youre still able to perform other commands