Good morning,
I have an object reference which I need to release, and would like to have this code fire perhaps in queryunload
However this event does not fire when "Thisform.release" is used in a command button to exit form.
I want to avoid having to go through the application and adding code to every form command button where it is released.
Unload method is too late as the form has already hung trying to release objects.
Is there a way to force the Queryunload event to fire in my form class?
I have an object reference which I need to release, and would like to have this code fire perhaps in queryunload
However this event does not fire when "Thisform.release" is used in a command button to exit form.
I want to avoid having to go through the application and adding code to every form command button where it is released.
Unload method is too late as the form has already hung trying to release objects.
Is there a way to force the Queryunload event to fire in my form class?