|
-
Nov 5th, 2000, 03:35 AM
#5
Thread Starter
Lively Member
Thanks Guys,
I got some help and found an answer. Its a game without a title bar. Has a Minimize button so people can play at work! Also has an Exit button. Program does a lot of calculating and may need to be minimized or exited during these calcs. Here's the code that works:
"Lots of Do Whiles"
"Lots of calculations"
DoEvents
If Forms.Count < 1 Then Exit Sub
"More Calcs"
"Lots of Loops"
DoEvents handles the Minimize & Exit buttons. The Exit button Unloads the form but the code will try to continue to run which results in errors. The If...Then stops the code.
Thanks for all the help,
Jon
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
|