<?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 : Load images from resource file into ImageManager</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Load images from resource file into ImageManager]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 19:22:30 +0000</pubDate>
  <lastBuildDate>Tue, 17 Feb 2009 03:45:18 +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=6352</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[Load images from resource file into ImageManager : Dim x As Bitmap x = My.Resources.myIcon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6352&amp;PID=45542&amp;title=load-images-from-resource-file-into-imagemanager#45542</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4975">Pieter2008</a><br /><strong>Subject:</strong> 6352<br /><strong>Posted:</strong> 17 February 2009 at 3:45am<br /><br />&nbsp;&nbsp; Dim x As Bitmap<br>&nbsp;&nbsp; x = My.Resources.myIcon<br>&nbsp;&nbsp; frmMain.ImageManager.Icons.AddBitmap(CInt(x.GetHbitmap), 25, XtremeCommandBars.XTPImageState.xtpImageNormal, True) <br>&nbsp;&nbsp; 'where myIcon is the icon and 25 is the ID used in my Imagemanager<br>]]>
   </description>
   <pubDate>Tue, 17 Feb 2009 03:45:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6352&amp;PID=45542&amp;title=load-images-from-resource-file-into-imagemanager#45542</guid>
  </item> 
  <item>
   <title><![CDATA[Load images from resource file into ImageManager : Hi, Something like this...  &amp;lt;code&amp;gt; ImageList...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6352&amp;PID=20241&amp;title=load-images-from-resource-file-into-imagemanager#20241</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2729">kandylion</a><br /><strong>Subject:</strong> 6352<br /><strong>Posted:</strong> 09 February 2007 at 7:47am<br /><br /><DIV>Hi,</DIV><DIV>Something like this...</DIV><DIV>&nbsp;</DIV><DIV>&lt;code&gt;</DIV><FONT color=#2b91af size=2><P>ImageList</FONT><FONT size=2> myImages =&nbsp; <FONT color=#0000ff size=2>new</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>ImageList</FONT><FONT size=2>(</FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>.components);</P><P></FONT><FONT size=2>myImages</FONT><FONT size=2>.Images.Add(</FONT><FONT color=#0000ff size=2>global</FONT><FONT size=2>::UITest1.MainClass.Image1</FONT><FONT size=2>);</P><P></FONT><FONT size=2>myImages</FONT><FONT size=2>.Images.Add(</FONT><FONT color=#0000ff size=2>global</FONT><FONT size=2>::UITest1.</FONT><FONT size=2>MainClass.Image2</FONT><FONT size=2>);</P><P></FONT><FONT size=2>myImages</FONT><FONT size=2>.Images.Add(</FONT><FONT color=#0000ff size=2>global</FONT><FONT size=2>::UITest1.</FONT><FONT size=2>MainClass.Image3</FONT><FONT size=2>);</P><DIV></DIV><DIV>&lt;/code&gt;</DIV><DIV>&nbsp;</DIV><DIV>This ImageList is used in other parts of the UI. Ideally, I would like minimal disruption to the code and so would like to load the images from this imagelist into the ImageManager so that the CodeJock UI can be updated indepentandly of the other section.</DIV><DIV>&nbsp;</DIV><DIV>At present, my solution has been to load the images into ImageManager at design time (thereby creating two objects with the same images: ImageList and ImageManager). It is also not possible to use the ImageManager as the primary source of images as the other section does not reference the CodeJock libraries and I would like to keep it that way.</DIV><DIV>&nbsp;</DIV><DIV>I hope that this is clear to you!</DIV><DIV>&nbsp;</DIV><DIV>Any help would be appreciated.</FONT></FONT></DIV>]]>
   </description>
   <pubDate>Fri, 09 Feb 2007 07:47:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6352&amp;PID=20241&amp;title=load-images-from-resource-file-into-imagemanager#20241</guid>
  </item> 
  <item>
   <title><![CDATA[Load images from resource file into ImageManager : Hi,  Convert this Image to Bitmap...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6352&amp;PID=20240&amp;title=load-images-from-resource-file-into-imagemanager#20240</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6352<br /><strong>Posted:</strong> 09 February 2007 at 6:09am<br /><br /><P>Hi, </P><DIV>Convert this Image to Bitmap and use Addbitmap method.</DIV><DIV>What code you use to load Image?</DIV>]]>
   </description>
   <pubDate>Fri, 09 Feb 2007 06:09:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6352&amp;PID=20240&amp;title=load-images-from-resource-file-into-imagemanager#20240</guid>
  </item> 
  <item>
   <title><![CDATA[Load images from resource file into ImageManager : Is there anyway of doing this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6352&amp;PID=20238&amp;title=load-images-from-resource-file-into-imagemanager#20238</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2729">kandylion</a><br /><strong>Subject:</strong> 6352<br /><strong>Posted:</strong> 09 February 2007 at 5:18am<br /><br />Is there anyway of doing this with an Image? I noticed that it is not possible to get a handle or pointer to an image loaded via the resource file. It would be great if this were possible.<DIV></DIV>]]>
   </description>
   <pubDate>Fri, 09 Feb 2007 05:18:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6352&amp;PID=20238&amp;title=load-images-from-resource-file-into-imagemanager#20238</guid>
  </item> 
  <item>
   <title><![CDATA[Load images from resource file into ImageManager : Thanks for the quick response. Very...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6352&amp;PID=20213&amp;title=load-images-from-resource-file-into-imagemanager#20213</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2729">kandylion</a><br /><strong>Subject:</strong> 6352<br /><strong>Posted:</strong> 08 February 2007 at 1:45pm<br /><br />Thanks for the quick response.<DIV></DIV>Very impressed with your service.]]>
   </description>
   <pubDate>Thu, 08 Feb 2007 13:45:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6352&amp;PID=20213&amp;title=load-images-from-resource-file-into-imagemanager#20213</guid>
  </item> 
  <item>
   <title><![CDATA[Load images from resource file into ImageManager : Hi,  Something like this:   System.Drawing.Icon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6352&amp;PID=20207&amp;title=load-images-from-resource-file-into-imagemanager#20207</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6352<br /><strong>Posted:</strong> 08 February 2007 at 11:52am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Something like this:</DIV><DIV>&nbsp;</DIV><DIV><FONT size=1><P></FONT><FONT color=#020002 size=1>System</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>Drawing</FONT><FONT size=1>.</FONT><FONT color=#2b91af size=1>Icon</FONT><FONT size=1> </FONT><FONT color=#020002 size=1>icon</FONT><FONT size=1> = ((</FONT><FONT color=#020002 size=1>System</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>Drawing</FONT><FONT size=1>.</FONT><FONT color=#2b91af size=1>Icon</FONT><FONT size=1>)(</FONT><FONT color=#020002 size=1>resources</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>GetObject</FONT><FONT size=1>(</FONT><FONT color=#a31515 size=1>"$this.Icon"</FONT><FONT size=1>)));</P><P></FONT><FONT color=#020002 size=1>CommandBars</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>Icons</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>AddIcon</FONT><FONT size=1>(</FONT><FONT color=#020002 size=1>icon</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>Handle</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>ToInt32</FONT><FONT size=1>(), </FONT><FONT color=#2b91af size=1>ID</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>ID_APP_ABOUT</FONT><FONT size=1>, </FONT><FONT color=#020002 size=1>XtremeCommandBars</FONT><FONT size=1>.</FONT><FONT color=#2b91af size=1>XTPImageState</FONT><FONT size=1>.</FONT><FONT color=#020002 size=1>xtpImageNormal</FONT><FONT size=1>);</P></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 08 Feb 2007 11:52:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6352&amp;PID=20207&amp;title=load-images-from-resource-file-into-imagemanager#20207</guid>
  </item> 
  <item>
   <title><![CDATA[Load images from resource file into ImageManager : Hi, Is it possible to load images...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6352&amp;PID=20192&amp;title=load-images-from-resource-file-into-imagemanager#20192</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2729">kandylion</a><br /><strong>Subject:</strong> 6352<br /><strong>Posted:</strong> 08 February 2007 at 9:05am<br /><br />Hi,<DIV>Is it possible to load images from a resource file (*.resx) into ImageManager at runtime?</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 08 Feb 2007 09:05:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6352&amp;PID=20192&amp;title=load-images-from-resource-file-into-imagemanager#20192</guid>
  </item> 
 </channel>
</rss>