Re: Can I disable the "X" for the application?
- From: "Keith Wilby" <here@xxxxxxxxx>
- Date: Wed, 28 Jun 2006 16:40:05 +0100
"PamelaDV" <pdevries@xxxxxxxxxx> wrote in message
news:1151506751.464855.317780@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am wondering if there is a way to disable the "X" used to close the
Access application window? I know how to disable it for individual
forms, but I would like to disable it for the application in general
and force users to use a button on the switchboard to close (because I
run important code on the close of the database from that button).
Any ideas are always appreciated.
Thanks!
You can't do that but what you can do is run your code from the Unload event
of the last form to be closed. That way, no matter how the app is closed
(aside from a crash) the code will run.
HTH - Keith.
www.keithwilby.com
.
- References:
- Can I disable the "X" for the application?
- From: PamelaDV
- Can I disable the "X" for the application?
- Prev by Date: Linked Table Manager
- Next by Date: highest percenatage
- Previous by thread: Can I disable the "X" for the application?
- Next by thread: Re: Can I disable the "X" for the application?
- Index(es):
Relevant Pages
|