Cita de: ®® en 11 Enero 2008, 20:34 PM
pero QueryUnload no se ejecuta al matar el proceso.
Aver, estos son os UnloadModes:
vbFormControlMenu (0) 'The user chose the Close command from the Control menu on the form.
vbFormCode (1) 'The Unload statement is invoked from code.
vbAppWindows (2) 'The current Microsoft Windows operating environment session is ending.
vbAppTaskManager (3) 'The Microsoft Windows Task Manager is closing the application.
vbFormMDIForm (4) 'An MDI child form is closing because the MDI form is closing.
vbFormOwner (5) 'A form is closing because its owner is closing.
Tienes razon, pero no es para eso k sirve, me recuerdo k kuando lo probe por la primera vez, el windows no se apagava con el proceso interminable. Hay k dejarlo terminarse con el unloadmode 2.
Salu2