|
-
Aug 31st, 2011, 02:23 PM
#1
Thread Starter
New Member
Form freezes when I go back to it while program runs?
I have a program when started has a start and stop command button on it. As you can tell below, its opening that powerpoint file and sleeping for 236 minutes. After that it stops and closes, and runs updates in a loop and then reopens the powerpoint file for another 236 minutes.
My problem is when I go to click the stop button or even try to move or click anywhere on the form while the program runs, the program freezes. I think this is due to the sleep command. I need to be able to click on stop if I need to without it freezing. Does anyone have any suggestions to stop it from freezing? I ultimetly need it to stop at 236 minutes so it can close the powerpoint and go through the updates and then launches it again. I left out the other code that updates the files as it is not necessary to see it.
Thanks for any help!
====
PLEASE SEE 3rd message below
Last edited by zach campbell; Aug 31st, 2011 at 03:33 PM.
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
|