Change MS Office Button Icon - ms-access

Has anyone found a way to change the icon displayed in the Office Button in A2007?
Having converted an MS Access 2003 app to 2007, it's very annoying that my app is now displayed as an MS Office app instead!

You can certainly hide all of the ribbon and the office button with one line of VBA code in your startup. You can use:
DoCmd.ShowToolbar "Ribbon", acToolbarNo
The above will hide the office button the QAT and the ribbon.
edit:
You were asking how to hide everything. It is just a simple great one of code that will accomplish this for you.
If you are looking to build a custom UI, then you are free to do so. About the only limitation of a custom ribbon is you HAVE to have file button (but, I think every program I installed for 15+ years had a file option anyway).
So, you are most free to customize what that file button shows. You question simply asked how to hide everything and the above does that with ease.
So, if you do want a ribbon, then your custom ribbon can specify startfromScratch = true, then the only UI options you add to your ribbon is what the user will see.
However, a custom ribbon will always have the file button (or what we often call pizza button and that simply part of the ribbon).
You can also consider using menu bars and not showing the pizza button, but 2007 does not have a built in menu bar builder like previous versions did. This abilty to show only a custom menu bar is outlined here:
http://www.accessribbon.de/en/index.php?FAQ:7

Related

Hiding a ribbon button when specific Dynamics CRM Web Resource is in context

Like most of dynamics crm programmers know, we can add "web resources that are not associated with any entity" to the sitemap. If such a customization is made, when user clicks that link, web resource will be opened and the buttons in the application ribbon will be added to the ribbon section of the dynamics crm.
What I am wondering is if there is any way I can hide this global buttons that are in the application ribbon based on the web resource on the page.
Let's say I added more than one web resources to my sitemap, namely a.htm and b.htm. Let's say I have a custom button named x in the application ribbon. Right now x is displayed both for a.htm and b.htm, but in reality I would like to hide the button when user clicks on b.htm from the sitemap.
Is there a way to accomplish that?
You could use the following (unsupported) code to hide the Ribbon button (the 'Run Workflow' button in this example):
var btnRunWorklfow=top.document.getElementById("account|NoRelationship|Form|Mscrm.Form.account.RunWorkflow-Large");
btnRunWorklfow.style.display='none';
You can also use ribbon editor available in codeplex to disable your button based on your javascript.
Refer to: http://crmvisualribbonedit.codeplex.com/
I figured there is no supported way of doing this.

Access Navigation form stop requerying forms

in my MS Access 2013 application, I am using a Navigation Form as a top layer to connect all my subforms.
How do I stop Access from requerying the subforms whenever I change tabs (forms) ?!
(Basically I just want to use the navigation tabs as a way switch the other forms that remain open but hidden)
This seems like a basic feature that i cant't seem to figure out.
Thank you in advance!
Unlike Tabs, NavigationForms has a menu and a subform control where your "target forms" will be "loaded". So every time when you click a navigation button, your target form will be "loaded/opened" into the subform control.
It means you are not re-querying your forms but unloading and loading.
for your purpose you might well use the normal Tabs.

Microsoft Access form opens minimised after its been changed

Im having an intermittent problem where forms open in view mode but minimised, looking like a small inch-sized box with the 'X' close button visible.
It normally seems to happen when Ive made a change to the form or code in the forms module, but happens randomly when being used in view mode.
I can only get round it by either re-importing a backup of the form or making the form border sizeable, either way it's not too professional.
Any ideas how I can solve this one?
Docmd.Restore seems to work on the form load event

Access 2010 Web Database OpenForm Action

I am designing a web database using Access 2010
I have put a macro which uses the openform action
The Window Mode for this Action is "Dialog". in the dropdown this is the only option which is available for this setting.
when the form opens up, i can see that it is very small and its size is fixed.
I want to set the initial size of the form, or atleast make it resizeable so that uses can enter data properly in the newly opened form
I had the same problem, but found this:
http://books.google.co.uk/books?id=G78tE7JjgDcC&pg=PA775&lpg=PA775&dq=access+2010+macro+set+window%2Bmode&source=bl&ots=bvmf2qN0fL&sig=gcAysal_0g1jJ3gOJP2c5WGVbKE&hl=en&sa=X&ei=yMkeUI-KJaWG0AXNu4GoAw&ved=0CE0Q6AEwADgK#v=onepage&q=access%202010%20macro%20set%20window%2Bmode&f=false
(bottom of page 775)
Shows that Access 2010 macros are web based and only open forms in dialogue mode, not tabbed mode as in access. This does not show any other way around the problem! But I'm still looking.

Access 2010 remove access window completely

I found a question here on stack overflow about removing the access window and they displayed a picture showing it done, but when I attempted to use the code it didn't do anything as far as I can tell. When it comes to VB and Access I'm a newb and could use a little help in getting my database to display something similar to this. http://img403.imageshack.us/img403/2053/pycsd.png
That is one of my screen caps. All you need in your startup code is the following line of code:
DoCmd.ShowToolbar "Ribbon", acToolbarNo
The above code can be placed in your startup form.
So, the general settings are:
Tabbed window mode (which is default anyway).
Turn off display of tabs.
Turn off navigation pane.
Just set the form as your startup form and in the forms on-load event execute the above one line of code.