-
I am running into occasional problems unloading forms. When running in the environment, I can call "Unload Me" and the form will disappear, but program does not exit out. This problem was solved by (a)removing all With statements or (b)using the End statement. I am not sure why this is necessary. Is there anyone who has found similar problems? Thanks.
Visual Basic 6.0, Service Pack 3
Jay
-
One possibility
Unloading all the forms does not necessarily end the program. If there is still some processing going on (some kind of loop, for example) then the program will keep running until the processing finishes, whether the form is loaded or not.
That may have something to do with it.
~seaweed