[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 776
  • Last Modified:

new to access 2010 - hiding ribbon - other techniques

Hi EE,

a) yesterday, Nick helped me understand how to hide the ribbon using the UsysRibbons table
tehcnique.

http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_28140895.html#a39209177

b) Nick also directed me to anothe EE post that mentions people converted acccdb
to accdr to hide the ribbon....

c) i think there are other techniques, that are listed here, that i tried that do not work
for me. i uploaded a test accdb below, and am wondering if you could help me out.

http://www.access-programmers.co.uk/forums/showthread.php?p=1247629

the link above discusses:
1) DoCmd.ShowToolbar “Ribbon”, acToolbarNo

2) and minimizing:

If Not CommandBars.GetPressedMso("MinimizeRibbon") Then
CommandBars.ExecuteMso "MinimizeRibbon"
End If

If you had any success with (1) and (2) and could apply it to the accdb would very much appreciate, bec am trying to understand which technique is suited for me.

tx so much for your help, sandra
Nick-EE.accdb
0
mytfein
Asked:
mytfein
2 Solutions
 
GrahamMandenoCommented:
Hi Sandra

This is very similar to the other question you posted, but I will answer it anyway.

1)  DoCmd.ShowToolbar "Ribbon", acToolbarNo can be used at any time to hide the current ribbon, and DoCmd.ShowToolbar "Ribbon", acToolbarYes will show it again.
However, you should remember that the "current ribbon" changes when you open different objects - for example, if you hide the database ribbon and then open a form then the form ribbon will show.  To avoid this you can put code to hide the ribbon in each form's Form_Open event procedure.

2)  The code for minimizing the ribbon works OK, but that is all it does.  It does not disable or hide the ribbon, so a user can still click on a ribbon tab and have all the functionality of the default ribbon.

Best wishes,
Graham Mandeno [Access MVP 1996-2013]
0
 
Nick67Commented:
I have posted a sample into your other question.
Though what I have given you there lets you shut down the BackStage and Ribbon, you have the problem of the Quick Access toolbar and how to keep the users from using that as a can-opener.  The accdr techniques help with those issues

Nick67
0
 
mytfeinAuthor Commented:
Hi Gentlemen,

tx for your help, s
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now