Closing Access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

Is there a way to disable closing an access applicatin by clicking the red
"X"? I want to ensure users will use File - Close or File - Exit.

Thanks,
 
Rosemary ha scritto:
Hello,

Is there a way to disable closing an access applicatin by clicking the red
"X"? I want to ensure users will use File - Close or File - Exit.

Thanks,

The only solution Windows_Style that i know is to use an Hidden form
and Cancel the Unload Event.

Other solution like disable X button or remove it and all ContextMenù.

Here you can find a solution:
http://support.microsoft.com/kb/245746/en-us

@Alex
 
Rosemary said:
Is there a way to disable closing an access applicatin by clicking the red
"X"? I want to ensure users will use File - Close or File - Exit.

Why? What's so important about closing Access down in such a fashion?
If there is some code you want to always run when the user is exiting
Access then open up a hidden form. And on that forms OnClose event
run the code you want.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 
Back
Top