473,785 Members | 2,249 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Disable Close Button

I have seen no solution to this issue and was wondering if anyone had
one. I am trying to disable the close button in the upper-right
corner of the screen in an Access .mde running under the Access 2007
runtime. Is this possible? Solutions for previous versions of Access
do not seem to be working. Thanks.

Vincent
Mar 26 '08 #1
4 3131
On Mar 28, 12:39*am, "ARC" <PCES...@PCESof t.invalidwrote:
Access does some very strange things when you click the top right x. Oddly
enough, events fire that would have no right to fire, such as the currently
opened form's "On Open" event. So you basically have to debug all
possibilities of different forms opened then clicking the top right x.
It doesn't do that here in Canada.

But Canada is a wonderful country. Everything seems to run so well in
our clean, cold, refreshing air. Over the years, I've found that
99.44% of Access problems, bugs and troubles reported here in CDMA
just don't occur in my databases here in Canada.
Mar 28 '08 #2
On Mar 28, 2:08*am, lyle <lyle.fairfi... @gmail.comwrote :
On Mar 28, 12:39*am, "ARC" <PCES...@PCESof t.invalidwrote:
Access does some very strange things when you click the top right x. Oddly
enough, events fire that would have no right to fire, such as the currently
opened form's "On Open" event. So you basically have to debug all
possibilities of different forms opened then clicking the top right x.

It doesn't do that here in Canada.

But Canada is a wonderful country. Everything seems to run so well in
our clean, cold, refreshing air. Over the years, I've found that
99.44% of Access problems, bugs and troubles reported here in CDMA
just don't occur in my databases here in Canada.
So, Lyle, what would it cost for you to host my access files and allow
terminal services connections? I'd love to have all of my problems
solved by simple outsourcing <very big grin>.
Mar 28 '08 #3
ARC
Plus you have better health-care in Canada!

You should be able to duplicate: Try opening a form as invisible with a text
box on it. Then in a form's on-open, or on-load, reference the text box on
the invisible form. With that form open, try clicking the top right-x.
"lyle" <ly************ @gmail.comwrote in message
news:3a******** *************** ***********@t54 g2000hsg.google groups.com...
On Mar 28, 12:39 am, "ARC" <PCES...@PCESof t.invalidwrote:
Access does some very strange things when you click the top right x. Oddly
enough, events fire that would have no right to fire, such as the
currently
opened form's "On Open" event. So you basically have to debug all
possibilities of different forms opened then clicking the top right x.
It doesn't do that here in Canada.

But Canada is a wonderful country. Everything seems to run so well in
our clean, cold, refreshing air. Over the years, I've found that
99.44% of Access problems, bugs and troubles reported here in CDMA
just don't occur in my databases here in Canada.

Mar 28 '08 #4
Hi Vincent,

I've had the same problem too !

This is how I could get around it.

I tried to keep my forms always maximized. The problem I encountered
was that when my customers clicked "show desktop" or Windows + D or
Windows + M my form got minimized.

By putting Docmd.Maximize in the forms On Resize event the form always
stays maximized and that way the close button is always obscured by my
application.

Perhaps this is usefull for you too !

*** Sent via Developersdex http://www.developersdex.com ***
Apr 8 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
9877
by: JCharlie | last post by:
hi all. I´ve a problem with x button on internet explorer. Some users fills an informative form, they push x button and i don´t save the information. How can i disable the x button on internet explorer? I could a close window button and i could save the information when the users push this close button. Thank you.
3
6135
by: Saurabh Sharma | last post by:
Hi How do i disable windows close button in forms in C# Regards Saurabh
6
2804
by: Raghu Raman | last post by:
Hi, we are doing an in house project in c#.net(asp.net).We wanted to close our application when ever the user presses the SIGNOUT button. Even though we programtically disconnects them from the database,when we press the Internet explorers Back button ,all the browsed pages are displayed with the data**. 1.could you pls tell me how to disable the back-button of IE
3
2608
by: Paul | last post by:
Hi, just wondering if there is a way to disable the back button of the browser as I have a logoff page and would like to not allow the back operation? Guessing there may be a way to do it through java script. -- Paul G Software engineer.
24
4878
by: Agnes | last post by:
I need to disable the exit button in the form . However, the min. and max. button need to keep it How ? Thanks a lot From Agnes
2
2538
by: PamelaDV | last post by:
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!
4
3516
by: mhifd009 | last post by:
I have disabled a close button in the property section of a form (FRM1), as i open the form the close button has gone (i have programmed close button), but as i close the form, the form that opened FRM1 also has the close button disabled - and so does every form until i minimise a form and maximise again. I have also tried to disable controlbox property but doesnt seem to remove, min, max or close - is there somewhere else i need to set. ...
1
1683
by: jamesdel | last post by:
Hi I know how to disable the close button of the main access window. But i am not able to disable the maximum button. Can anyone help me in this regard. It certainly needs API function calling procedure. So anybody who is good in API can help me. I have disable the close button through this. But when i am trying to disable the maximum button using this same technique i am not getting the correct result. John
1
2322
by: kenzs | last post by:
Hi! how to disable close(x) button in web form, i want only close button,don't disable in maximize button ,minimize button
1
2498
by: jagan1976 | last post by:
I want to disable close button for each report and it would apply to all users. Is there any script or method available which will disable close button for all reports at once without using properties. Please let me know the ideas to do. It would be better if the close button of all reports are disabled globally (if common propertity or script available) Thanks in advance, Jagan
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10161
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9958
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8986
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7506
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4058
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3662
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2890
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.