Hello,
I have 2 forms, say formX and formY. When formX is loaded, it calls formY to open, and later it closes formY. The code is something like this:
formX_Load()
formY.show
(code...)
formY.hide
end sub
I know that formY is still there (in the memory) after the .hide, the proof is during the test run when I shut down formX VB6 is still in the "play" mode, implies that there is something still hanging there. I don't find a way to shut it totally. I tried .close and .unload and doesn't work (unload is an event for formY, but I can't use it as a method) and can't find anything else useful in the object browser. I hope if someone can tell me a way to unload this formY.
I have 2 forms, say formX and formY. When formX is loaded, it calls formY to open, and later it closes formY. The code is something like this:
formX_Load()
formY.show
(code...)
formY.hide
end sub
I know that formY is still there (in the memory) after the .hide, the proof is during the test run when I shut down formX VB6 is still in the "play" mode, implies that there is something still hanging there. I don't find a way to shut it totally. I tried .close and .unload and doesn't work (unload is an event for formY, but I can't use it as a method) and can't find anything else useful in the object browser. I hope if someone can tell me a way to unload this formY.