locked
Error in backstage ribbon FileCloseDatabase RRS feed

  • Question

  • Hi all,

    I use MS Access 365 MSO<tcxspan tcxhref="https://ticeco.3cx.nl/webclient/#/call?phone=1601232520280" title="Call 16.0.12325.20280 with 3CX Web Client">16.0.12325.20280 </tcxspan>x64.

    I have custom ribbons for all Access Apps, but when selecting the backstage tab an error is displayed only in a runtime version of the database (accdr), but not in the regular accdb or compiled accde.

    Error (translated)
    Runtime error in custom UI in [App Name]
    Line 533
    Column 21
    Error 0x80004005
    Cannot locate Office control on id
    Id: FileCloseDatabase

    The id FileCloseDatabase is a normal MSO id which exist on the backstage tab. Is there maybe a change related to this control?

    Part of the custom ribbon XML
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="OnRibbonLoad">          <commands>                    <command idMso="Help" enabled="true"/>                    <command idMso="WindowClose" enabled="true"/>                    <command idMso="WindowRestore" enabled="true"/>                    <command idMso="WindowMinimize" enabled="true"/>          </commands>          <ribbon startFromScratch="false">                    <tabs>                              <tab                                        id="T00"                                        label= "Exit App"                                        getVisible="GetVisible"                                        tag="Version:=usr">                                        <group                                                  id="T00G01"                                                  label="Exit App"                                                  autoScale="true"                                                  centerVertically="true"                                                  tag="Version:=usr">                                                  <button                                                            id="T00G01B01"                                                            getImage="GetImages"                                                            tag="CustImg:=quit_icon.png;Version:=usr"                                                            label="Exit App"                                                            onAction="QuitApp"                                                            supertip=" "                                                            screentip="Quit this app"                                                            getSize="GetSize"                                                            getEnabled="GetEnabled"                                                            getVisible="GetVisible"                                                  />                                        </group>                              </tab>                     </tabs>          </ribbon>          <backstage>                    <tab idMso="TabPrint" visible="true"/>                    <button idMso="ApplicationOptionsDialog" visible="true"/>                    <button idMso="FileCloseDatabase" visible="false"/>          </backstage></customUI>

    Is this control not available in a runtime version of Access?

    Art.


    Wednesday, January 15, 2020 9:37 AM