In a fairly large procedure I disabled a section of code that opened a form to print. It’s no longer needed to be open since I’ve changed it to printtopf using the form without opening.
A moment later, while the program sat idle, the compiler popped up a message about a CloseWindow error. Huh?
It turns out that near the end of the procedure I had a CloseWindow command that was no longer needed - and the compiler noticed it.