Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Relative CustomPicturePath for Ribbon of MS Office Access 2007

From: Roman Trojan <roman.trojan@-----.--->
To: NULL
Date: 8/11/2008 3:27:00 AM

I am using MS Office Access 2007 with Ribbon via USysRibbons.RibbonXML

How to set "CustomPicturePath" entry relative?
- using embedded resources "imageMso"?
- programming Me.RibbonXml.value = "..." in Form_Load?
Where are the resources of Access "imageMso" on PC?

Example with absolute CustomPicturePath:
----------------------------------------
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
onLoad="OnRibbonLoad" loadImage="LoadImages">
<commands>
    <command idMso="Help" enabled="true"/>
    <command idMso="WindowClose" enabled="true"/>
    <command idMso="WindowRestore" enabled="true"/>
    <command idMso="WindowMinimize" enabled="true"/>
</commands>
  <ribbon startFromScratch="true">
    <tabs>
      <tab id="tabHelp" label="Help">
        <group id="grpHelp" label="Help">
          <button id="btnHelp" size="normal" label="Help"
getImage="GetImages"
tag="RibbonName:=;inMenu:=;CustomPicture:=Info16.ico;CustomPicturePath:=
C:\prj\test\graphic\" onAction="OnActionButton" getVisible="GetVisible"
getEnabled="GetEnabled" />
        </group>
      </tab>
    </tabs>
  </ribbon>
</customUI>

Roman

*** Sent via Developersdex http://www.developersdex.com ***


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent