Prevent access from closing by the File - close menu

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

Guest

I have restricted the user from closing access by the "x" but how can i do this and include the File menu - close option

Erik
 
Erik said:
I have restricted the user from closing access by the "x" but how can
i do this and include the File menu - close option?

How did you go about keeping 'the user from closing access by the "x"'?
The method I've used for doing this is to have a form that cancels its
Unload event. But that method also keeps the database from being closed
by the File -> Close menu item. Or are you saying that you want to
*allow* File -> Close to close Access, but not allow the "X" button on
the application window to close it?
 
Hi,

its the same method im trying, must have done something wrong because the user manages to close access from file menu. I go back and look at my code once moore..

Erik
 
Back
Top