Legacy VB6 forms unexpectedly unloaded

Hi, all.

We have had some issues reported recently with our legacy VB6 application (running under Win7 64 bit) where certain forms that have been hidden are unloaded unexpectedly. When the application attempts to show the form again, the controls which we load dynamically (before showing the form the first time) are missing. The only way this can happen is if the form is unloaded, however the application does not call the unload method until the user exits the entire app - and yes, we do inspect the form's QueryUnload event to set cancel=True when the user clicks the Close button to HIDE the form.

This has only started happening recently, and certainly was not observed under Windows XP. Further, it doesn't happen under all Windows 7 installations, only some.

Does anyone have any ideas or has anyone else been having this problem?
edwardrAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ThomasMcA2Commented:
That sounds like a Windows Update broke your code. Compare the updates on a working system to a broken system to start identifying the culprit.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
edwardrAuthor Commented:
Thanks for the advice. I was hoping someone had seen the issue before.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.