I want to recognize the windows shutdown with VB4.0. The Form_Unload does not work because
my programm has a loop in the Form_Load! So I need to recognize the windows-shutdown from somewhere else.
OR: if you know how to palce my loop out of the Form_Load so that it is also startet immediately when running.
swilt wrote:" loop in the Form_Activate and look at UnloadMode in the Form_QueryUnload"