<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : QUESTION: LoadIcons from XML</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : QUESTION: LoadIcons from XML]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 00:55:38 +0000</pubDate>
  <lastBuildDate>Mon, 20 Oct 2008 06:56:42 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=12469</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[QUESTION: LoadIcons from XML : Hi,  1. Indeed there is no way...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12469&amp;PID=42144&amp;title=question-loadicons-from-xml#42144</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12469<br /><strong>Posted:</strong> 20 October 2008 at 6:56am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>1. Indeed there is no way to enumerate images in eimagemanager. You can only loop all Ids and check if GetImage will return something&nbsp; :(</DIV><DIV>&nbsp;</DIV><DIV>2. alpha blending&nbsp; will be fine :)</DIV>]]>
   </description>
   <pubDate>Mon, 20 Oct 2008 06:56:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12469&amp;PID=42144&amp;title=question-loadicons-from-xml#42144</guid>
  </item> 
  <item>
   <title><![CDATA[QUESTION: LoadIcons from XML :   I like to know the Id of icons...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12469&amp;PID=42107&amp;title=question-loadicons-from-xml#42107</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2575">Jean</a><br /><strong>Subject:</strong> 12469<br /><strong>Posted:</strong> 17 October 2008 at 8:06am<br /><br />I like to know the Id of icons after reading them from XML and importing into an ImageManager.<br><br>The XML-File is created from an ImageManager and looks like this:<br><table width="99%"><tr><td><pre class="BBcode">&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br>&lt;DesignerFile CompactMode="1" Schema="33"&gt;<br>&nbsp;&nbsp; &nbsp;&lt;Images&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;IconSet Id="4"&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;Icon Width="16" Data="ABAAAAA..."/&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;/IconSet&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;IconSet Id="2"&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;Icon Width="16" Data="ABAAAAAABCAAAAAAE...</pre></td></tr></table><br>What I need are the Ids of the Icon: 4, 2, ...<br>Where can I find this Id's in the ImageManager.Icons?<br>Is this information lost after import? <br><br>Additional question: Do the icons with alpha blending still have alpha blending after this export and import?<br><br>Code fragments to<br>SaveIcons:<br><table width="99%"><tr><td><pre class="BBcode">Dim myStateOptions As StateOptions<br>Set myStateOptions = CommandBars1.CreateStateOptions<br>myStateOptions.SerializeImages = True<br>myStateOptions.SerializeLayout = False<br><br>Dim PropExchange As PropExchange<br>Set PropExchange = CommandBarsGlobalSettings.CreatePropExchange<br>PropExchange.CreateAsXML False, "DesignerFile"<br>CommandBars1.DoPropExchange PropExchange, myStateOptions<br>PropExchange.SaveToFile App.Path &amp; "\Icons.xml"</pre></td></tr></table><br>LoadIcons:<br><table width="99%"><tr><td><pre class="BBcode">Dim myStateOptions As StateOptions<br>Set myStateOptions = CommandBars1.CreateStateOptions<br>myStateOptions.SerializeImages = True<br>myStateOptions.SerializeLayout = False<br><br>Dim PropExchange As PropExchange<br>Set PropExchange = CommandBarsGlobalSettings.CreatePropExchange<br>PropExchange.CreateAsXML True, "DesignerFile"<br>If PropExchange.LoadFromFile(App.Path &amp; "\Icons.xml") Then<br>&nbsp;&nbsp;&nbsp; CommandBars1.DoPropExchange PropExchange, myStateOptions&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>End If</pre></td></tr></table><br>]]>
   </description>
   <pubDate>Fri, 17 Oct 2008 08:06:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12469&amp;PID=42107&amp;title=question-loadicons-from-xml#42107</guid>
  </item> 
 </channel>
</rss>