none
Errors on loading custom ribbon RRS feed

  • Question

  • Hi, I'm climbing the walls by now as I spent hours trying to get something to work which is, apparently, quite easy for others:-)
    In Access 2013 I have a newly created db. I made a custom ribbon, which I want to load at startup. I duely made the USysRibbons table; the name of the ribbon does show up under Options.CurrentDB, but the damned thing refuses to show up!
    Luckily, after some websearching, I found the setting to display eror messages and  this is what I get:
    -  Line 1, col. 31, error code 0xC00CEE65, undeclared prefix.
    Then:
    - Line 1, col 71, error code 0x80004005, unknow namespace "http://schemas.microsoft.com/office/2006/01/customUI"
    etc. (several other errors may follow)
    Of course I modified the XML-text; I have a number of lines in USysRibbons now; most of them copied from the web. The above errors are generated by code I found on the Microsoft site (HideTheRibbon). Others use a different namespace (http://schemas.microsoft.com/office/2009/07/customui) but the result is always more-or-less the same: starting with the 'undeclared prefix' (at least, I hope that's what is says in English; I'm using a Dutch version); then the error about the namespace and other errors related to that.
    I also tried using the xml-code that is 'exported' from a customised ribbon created in Access itself. After deleting the ribbon, re-loading it manually works fine. But as soon as I paste the text into the RibbonXML field of the USysRibbons table and try to load it  on startup, I again get the same errors.
    I DO hope someone here can help me!
    Friday, April 29, 2016 12:46 PM

Answers

  • Hi Mabelis,

    you have only mentioned the errors. only from errors we can't provide appropriate suggestion because there are many reasons can be there to occur an error. so if provide a code that you are using for your ribbon that maybe better to understand the issue.

    you have the issue with customize the ribbon in access. so you can visit the link below. the link is for Access 2007 but it can help you to understand in Access 2013 also.

    Customize the Ribbon

    Regards

    Deepak 


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, May 2, 2016 5:06 AM
    Moderator

All replies

  • The best source I know for ribbon development is AccessRibbon

    Bill Mosca
    www.thatlldoit.com
    http://tech.groups.yahoo.com/group/MS_Access_Professionals

    Friday, April 29, 2016 2:54 PM
  • Hi. Would you mind posting your Ribbon XML and also provide a link to your source on how to display the errors? Thanks.
    Friday, April 29, 2016 3:07 PM
  • Are you setting the 'Ribbon Name:' in the Current Database options
    Friday, April 29, 2016 11:05 PM
  • Hi Mabelis,

    you have only mentioned the errors. only from errors we can't provide appropriate suggestion because there are many reasons can be there to occur an error. so if provide a code that you are using for your ribbon that maybe better to understand the issue.

    you have the issue with customize the ribbon in access. so you can visit the link below. the link is for Access 2007 but it can help you to understand in Access 2013 also.

    Customize the Ribbon

    Regards

    Deepak 


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, May 2, 2016 5:06 AM
    Moderator