A
Andrei Smolin
Hi,
In the Ribbon schema (http://officeblogs.net/UI/customUI.zip) the image
attribute is of the ST_Uri type, which is described as "A string argument
for a path to a file or a resource." However, when I specify the path to an
image file in the image attribute I get the "No loadImage callback was
specified to load the image ..." error message. My XML follows below.
===
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="false">
<officeMenu>
<menu id="MyMenu" label="My Menu" image="file:///c:\myimage.bmp">
<button label="My Button" id="MyButton" onAction="MyAction"/>
</menu>
</officeMenu>
</ribbon>
</customUI>
===
I tried also "file://c:/myimage.bmp", "file://c:\myimage.bmp",
"file:///c:\myimage.bmp". No success. Can you tell me if it is possible to
display an image in this way?
Regards From Belarus,
Andrei Smolin
Add-in Express Team Leader
In the Ribbon schema (http://officeblogs.net/UI/customUI.zip) the image
attribute is of the ST_Uri type, which is described as "A string argument
for a path to a file or a resource." However, when I specify the path to an
image file in the image attribute I get the "No loadImage callback was
specified to load the image ..." error message. My XML follows below.
===
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon startFromScratch="false">
<officeMenu>
<menu id="MyMenu" label="My Menu" image="file:///c:\myimage.bmp">
<button label="My Button" id="MyButton" onAction="MyAction"/>
</menu>
</officeMenu>
</ribbon>
</customUI>
===
I tried also "file://c:/myimage.bmp", "file://c:\myimage.bmp",
"file:///c:\myimage.bmp". No success. Can you tell me if it is possible to
display an image in this way?
Regards From Belarus,
Andrei Smolin
Add-in Express Team Leader