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

Home Posts Topics Members FAQ

Disable ribbon, office button & quick access toolbar

convexcube
47 New Member
Hi everyone,

I am trying to create a single window interface for my database. As I am using Access 2007, I have my document layout options set to tabbed documents without displaying documents tabs in order to get my main form to appear as the only element in the access application window. I have also set anchoring in the form so that controls that should always be visible are and others stretch to adjust to the size of the window. When resizing the window the ribbon, office button & quick access toolbar disappear when the window goes below a certain height. Does anyone know how to disable these controls permanently so they don't appear when I enlarge the window?

Kind Regards,

Ken.

P.S. Also is it possible to set a minimum window size that resizing will not go below?
Nov 24 '08
21 62469
dpminusa
3 New Member
OK. I have it working with a passworded Form. Other articles I have seen recommend the Keyboard Idea also.

Let me know how it goes.

This is a follow-on to Megalog's suggestion.
Nov 25 '09 #11
ironjohn04
1 New Member
Normally I have a "Menu" form in my applications so if you have something similar, you could always have the "On Activate" event hide the toolbar ( DoCmd.ShowToolb ar "Ribbon", acToolbarNo)
and then set the "On Close" event to show it again (
DoCmd.ShowToolb ar "Ribbon", acToolbarYes)

If you hold down the shift key when clicking to open your access application, the toolbar will be there.
Mar 2 '10 #12
MrDeej
157 New Member
DoCmd.ShowToolb ar "Ribbon", acToolbarNo

Someone know why this dosent work for .accde files? Only .accdb files works for me

Edit: Forget it. Access fucked something up so nothing of the code worked in my .accde.
I dont know what Access does, but when i open Accdb and run VBA compile then one form opens in design mode, but without the 'x' in the corner to close it. It then cannot ble closed and you must close the database. This is only the symptom. Problem is solved when you rename the form, run debug, then rename back.
Strange!
Mar 2 '10 #13
topher23
234 Recognized Expert New Member
My databases all have tables that give users permissions for functions, forms, reports, etc. I'd set up some code to show the ribbon to anyone with developer level access and hide it for anyone without it.
Mar 3 '10 #14
Faestrad
1 New Member
Hey

Where should i write this code for the quick access toolbar?? Is it a vba code or custom UI?
Aug 12 '14 #15
twinnyfo
3,653 Recognized Expert Moderator Specialist
All, it is possible to make these settings just after creating the MDE file. There are a few details in this link: Working with Front Ends and Back Ends.

One can also create custom Ribbons which only show up for Reports. This is a little more involved than the current thread, but is worth looking into if you want to lock down your DB, as I often like to do.
Aug 12 '14 #16
DanicaDear
269 Contributor
It is VBA code and I have it in OnOpen and OnClose (when opening and closing forms).
Aug 12 '14 #17
SCarlson
2 New Member
this is NOT working to fully hide the ribbon or the QAT in Access 2019. in fact if you click the right side of the QAT it gives you the opportunity to go right to the Access options and you can reset anything you want in the accde.

Which means attached tables are no longer hidden and queries can be created to edit data without forms.

Any other ideas?
May 31 '21 #18
isladogs
461 Recognized Expert Moderator Contributor
It is definitely possible to remove the ribbon and with it the QAT as well as other items such as Access options and the navigation pane.
Unfortunately the QAT is always visible if you use any ribbon, whether a standard Access ribbon or your own customised ribbon. However, whilst it is visible, the QAT can be disabled

Please read my articles Improve Security in Access databases and Control the Application Interface for full details including all required code.
May 31 '21 #19
SCarlson
2 New Member
thank you thank you thank you
Jun 2 '21 #20

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2084
by: prabhukrs | last post by:
hi friends, I'm working with Asp.Net application.I need to disable the refresh buton in the IE's toolbar using code, so that the refresh button could be diabled at runtime when it goes live. share your valuable ideas. Thanks in advance. Regards,
1
4487
by: ARC | last post by:
Does anyone know if you can add your own items to the round office button in the top left? I'm guessing the answer is no, and that you can only hide the default items, but it would be great if you could add your own. Reason being, I have a setup options screen, and a backup utility that would go perfectly there for my custom app. As it stands, I'm not quite sure where to put them, or where to put an old-style "File, Register..." type screen...
1
4873
by: Wayne | last post by:
I've searched this forum and trawled the wider web and can't find any information on how to hide or disable the A2007 Quick Access Toolbar. The toolbar is not something that one wants available to the user in a custom application. Can it be disabled or hidden and if so, how?
0
1562
by: dstork | last post by:
In Access 2007, does anyone know of any code to position the QAT below the ribbon? This can be done manually but what about through code? ds
4
4291
by: Bob | last post by:
Hi, Can it's possible to use a customized QAT in Access 2007 with a Ribbon using "USysRibbons" ? because in Access options i can't select 2 ribbon name. Thank's
3
3437
by: evenlater | last post by:
I'm building an application using A2K7 and I need to be able to hide the navigation pane from my users. That's easy. I just hide it using Access options and then disable special keys so they can't bring it up using F11. But what good does that do me if the users can just click on the Office Button and then Access Options and reverse those settings? Not much, but I can't seem to find a way to hide the Access Options button. I know I can...
1
2086
by: Heather | last post by:
I keep selecting and selecting, but it just doesn't show up. I also have no button in the ribbon for this, or any ability to get into other modes via the Office button. It's very frustrating; I had to search online for a keyboard shortcut to be able to access Design Mode at all. I'm sure there is something I'm missing, but it doesn't make sense. I can add and remove other buttons from the toolbar, why not Mode??
8
2603
by: evenlater | last post by:
I have an .accde file with custom ribbons and with "Allow Full Menus" set to False, but the Office Button menu still gives the user the ability to create a new Access database, or -- much worse -- open an existing one. My application is on a terminal server and I'm trying to plug all the holes so the user can't do anything but use my application. But right now if the user goes to the Office Button and clicks "Open", he can navigate to...
3
12432
convexcube
by: convexcube | last post by:
Hi everyone, Now that I've found a way to disable the ribbon etc. I need to disable the application maximize button. I have looked at this post and implemented it, but it disables the close and minimize buttons as well. Is there a simple command I can use to disable just this button or any way I can adapt the cited post to do just that? Kind regards, Ken.
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
10162
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...
1
10100
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9959
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
8988
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...
0
5396
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4061
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

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.