Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to capture when the user clicks on the X to close access 1

Status
Not open for further replies.

dotolee

Technical User
Jan 27, 2008
134
CA
is there a way to capture when the user clicks on the X button to close the entire application? I need to log the event.
thanks.
 
I think the only way is to have a form that opens hidden when the application is opened. You can put some code in the close event of the form.

 
I'd rather use the Unload event of such form, as it can be cancelled.



[pipe]
Daniel Vlas
Systems Consultant

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top