<?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 : SOLVED - Loading a graphic from a resource file</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : SOLVED - Loading a graphic from a resource file]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 22:44:19 +0000</pubDate>
  <lastBuildDate>Wed, 08 Apr 2009 00:51:44 +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=13949</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[SOLVED - Loading a graphic from a resource file : Hi,  Yes, LoadBitmapFromResource...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13949&amp;PID=47664&amp;title=solved-loading-a-graphic-from-a-resource-file#47664</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13949<br /><strong>Posted:</strong> 08 April 2009 at 12:51am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Yes, LoadBitmapFromResource&nbsp; will work. Use App.Instance as parameter.&nbsp; But problem of such method that only compiled exe will have this resource - you won't see bitmap inside IDE. so guess its easy use ImageManager to load png in designtime.</DIV>]]>
   </description>
   <pubDate>Wed, 08 Apr 2009 00:51:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13949&amp;PID=47664&amp;title=solved-loading-a-graphic-from-a-resource-file#47664</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED - Loading a graphic from a resource file : I want to load pgn&amp;#039;s from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13949&amp;PID=47658&amp;title=solved-loading-a-graphic-from-a-resource-file#47658</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5054">DaveB</a><br /><strong>Subject:</strong> 13949<br /><strong>Posted:</strong> 07 April 2009 at 4:14pm<br /><br />I want to load pgn's from a .rc file to use on the toolbar buttons of a ribbon.&nbsp; If I have a resource of: <DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID_FILE_EXIT &nbsp;&nbsp;&nbsp; PNG&nbsp;&nbsp;&nbsp;&nbsp; Exit.png</DIV><DIV>&nbsp;</DIV><DIV>in my .rc file (compiled to Legacy.res)&nbsp; how do I load it?&nbsp; (I am using VB6)</DIV><DIV>&nbsp;</DIV><DIV>Normally I use LoadResPicture(ID_FILE_EXIT, vbResBitmap).</DIV><DIV>&nbsp;</DIV><DIV>In the ribbon control I assume I should use .LoadBitmapFromResource but I can't figure out what the first couple parameters should be.</DIV><DIV>&nbsp;</DIV><DIV>Can anyone tell me what I should use?</DIV><DIV>&nbsp;</DIV><DIV>DaveB</DIV>]]>
   </description>
   <pubDate>Tue, 07 Apr 2009 16:14:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13949&amp;PID=47658&amp;title=solved-loading-a-graphic-from-a-resource-file#47658</guid>
  </item> 
 </channel>
</rss>