Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 13th, 2007, 11:51 AM
Friend of Wrox
 
Join Date: Apr 2006
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Default access close button

Just have another question.

Does anyone know how to deactivate the ms access close button.

I have already deactivated the close and min/max buttons on the forms that will be used, but now I'm trying to find a way to deactivate the close button for the whole program.

I prefer that the users quit the application by going back to the main menu first...

Is it also possible to deactivate the min/max button so only the minimalize button is activated?

 
Old February 13th, 2007, 10:21 PM
Registered User
 
Join Date: Jun 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you make the form modal and pop up in the forms properties under 'other' the user wont be able to close the db until they close the form.

 
Old February 14th, 2007, 10:00 AM
Friend of Wrox
 
Join Date: Apr 2006
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That I know, but it is not what I'm looking for. The button I want to disable is the close button of MS Access itself. So it is not the form button, but the office (or maybe the windows) button...

 
Old February 14th, 2007, 12:01 PM
Friend of Wrox
 
Join Date: Apr 2006
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Found the solution...

If anyone is interested, you can find the solution at

http://support.microsoft.com/kb/300688







Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help with the close(X) button. chobo2 C# 2008 aka C# 3.0 2 October 22nd, 2008 11:08 PM
Close button removal canuck38 Access 4 July 16th, 2004 03:50 AM
Access Close Button stoneman Access 9 July 7th, 2004 02:53 PM
Newbie Close Button Metastockuser Access 1 June 13th, 2004 04:12 PM
Disable Close Button Ben Horne Access VBA 1 April 12th, 2004 03:29 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.