Originally posted by System_Error
I know how to make something loop for a fixed number of times(10 for example) but, I would like to know how to make something loop for a minute or a few seconds. I know you would probably use the Timer control but im not sure how. Can someone help me?
according to his question , I showed him a very basic way and he can figure out the reset of the code .

When you put some code in Tick event of a timer and set interval to let's 3000 (3sec) . This means , it use that code for 3 sec then waits for another 3sec and then resume and so on .