<?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 : Reserved Image IDs</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : Reserved Image IDs]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 03:37:42 +0000</pubDate>
  <lastBuildDate>Thu, 12 Feb 2009 11:20:23 +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=12858</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[Reserved Image IDs :    briansweat wrote:Ah, okay....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=45382&amp;title=reserved-image-ids#45382</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3987">braian87b</a><br /><strong>Subject:</strong> 12858<br /><strong>Posted:</strong> 12 February 2009 at 11:20am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by briansweat" alt="Originally posted by briansweat" style="vertical-align: text-bottom;" /> <strong>briansweat wrote:</strong><br /><br />Ah, okay.&nbsp; I guess I didn't run into this since we use unique Icon IDs across the entire application.&nbsp; I'm using a 5 digit ID, where the first two digits represent the component and the last 3 identify the specific icon.&nbsp; That way, we can add more icons into a particular component and keep them together in the group.<br><br>Here's an example of our list....<br><table width="99%"><tr><td><pre class="BBcode"><br>' General Icons<br>Public Const Icon_General_New = 11001<br>Public Const Icon_General_Edit = 11002<br>Public Const Icon_General_Save = 11003<br><br>' Sales order icons<br>Public Const Icon_Sales_Quote = 12001<br>Public Const Icon_Sales_Order = 12002<br>Public Const Icon_Sales_Credit = 12003<br><br>' Inventory icons<br>Public Const Icon_Inventory_Product = 13001<br>Public Const Icon_Inventory_Warehouse = 13002<br>Public Const Icon_Inventory_Lot = 13003<br></pre></td></tr></table><br><br>With this example, I would use Icon_Sales_Order for the MDIMenu, the CommandBar on the MDI and any PushButton controls that need to display a sales order.</td></tr></table><br>I know&nbsp; that could be do in that way... BUT&nbsp; I WANT TO KNOW the reason of the bug that i described. that's all!<br><br><br>]]>
   </description>
   <pubDate>Thu, 12 Feb 2009 11:20:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=45382&amp;title=reserved-image-ids#45382</guid>
  </item> 
  <item>
   <title><![CDATA[Reserved Image IDs : Ah, okay. I guess I didn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=45380&amp;title=reserved-image-ids#45380</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3558">briansweat</a><br /><strong>Subject:</strong> 12858<br /><strong>Posted:</strong> 12 February 2009 at 11:17am<br /><br />Ah, okay.&nbsp; I guess I didn't run into this since we use unique Icon IDs across the entire application.&nbsp; I'm using a 5 digit ID, where the first two digits represent the component and the last 3 identify the specific icon.&nbsp; That way, we can add more icons into a particular component and keep them together in the group.<br><br>Here's an example of our list....<br><table width="99%"><tr><td><pre class="BBcode"><br>' General Icons<br>Public Const Icon_General_New = 11001<br>Public Const Icon_General_Edit = 11002<br>Public Const Icon_General_Save = 11003<br><br>' Sales order icons<br>Public Const Icon_Sales_Quote = 12001<br>Public Const Icon_Sales_Order = 12002<br>Public Const Icon_Sales_Credit = 12003<br><br>' Inventory icons<br>Public Const Icon_Inventory_Product = 13001<br>Public Const Icon_Inventory_Warehouse = 13002<br>Public Const Icon_Inventory_Lot = 13003<br></pre></td></tr></table><br><br>With this example, I would use Icon_Sales_Order for the MDIMenu, the CommandBar on the MDI and any PushButton controls that need to display a sales order.]]>
   </description>
   <pubDate>Thu, 12 Feb 2009 11:17:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=45380&amp;title=reserved-image-ids#45380</guid>
  </item> 
  <item>
   <title><![CDATA[Reserved Image IDs :    briansweat wrote:I&amp;#039;m...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=45379&amp;title=reserved-image-ids#45379</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3987">braian87b</a><br /><strong>Subject:</strong> 12858<br /><strong>Posted:</strong> 12 February 2009 at 11:00am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by briansweat" alt="Originally posted by briansweat" style="vertical-align: text-bottom;" /> <strong>briansweat wrote:</strong><br /><br />I'm not sure what the 9000 to 10000 IDs are for, but I will comment on using multiple ImageManager controls.<br><br>We have many forms that have a "Save" CommandBar control.&nbsp; Instead of duplicating those icons on each form, we found it easier to just have a single ImageManager.&nbsp; The ImageManager is on an invisible form.&nbsp; We can easily update an icon in one place and it will immediately update all controls throughout our application.<br><br>We've used the same approach for images on PushButton controls.&nbsp; When each form loads, we call a global routine that sets the Icon based on an ID parameter.&nbsp; It retrieves the icon using the Icons.GetImage() method of the ImageManager.<br><br>I'm not sure if that helps, but I wanted to share my experience.<br></td></tr></table><br><br>Yes, it helps but as a tecnique for centralize a resource (image-icon) to improve the modifications and memory usage... <br><br>What i have did say is:<br><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Braian87b" alt="Originally posted by Braian87b" style="vertical-align: text-bottom;" /> <strong>Braian87b wrote:</strong><br /><br /><br>I have had problems time ago... because i have a <b>Imagemanager1 </b>in a <b>form1 </b>and a <b>Imagemanager2 </b>in <b>Form2 both with different</b> icons with <b>iconId 101</b>.<br>then, if i want to load the <b>iconid 101</b> from <b>Imagemanager2 </b>(in form2)... it loads the <b>iconid 101</b> from <b>imagemanager1</b> (form1) instead...<br></td></tr></table><br>I mean: that is a bug i think... because it happens when the proyect is compiled and not when is in VB IDE.<br>It seems like their share the id's in the entire proyect exe. Understand??<br><br><br><br>]]>
   </description>
   <pubDate>Thu, 12 Feb 2009 11:00:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=45379&amp;title=reserved-image-ids#45379</guid>
  </item> 
  <item>
   <title><![CDATA[Reserved Image IDs : I&amp;#039;m not sure what the 9000...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=45347&amp;title=reserved-image-ids#45347</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3558">briansweat</a><br /><strong>Subject:</strong> 12858<br /><strong>Posted:</strong> 11 February 2009 at 1:24pm<br /><br />I'm not sure what the 9000 to 10000 IDs are for, but I will comment on using multiple ImageManager controls.<br><br>We have many forms that have a "Save" CommandBar control.&nbsp; Instead of duplicating those icons on each form, we found it easier to just have a single ImageManager.&nbsp; The ImageManager is on an invisible form.&nbsp; We can easily update an icon in one place and it will immediately update all controls throughout our application.<br><br>We've used the same approach for images on PushButton controls.&nbsp; When each form loads, we call a global routine that sets the Icon based on an ID parameter.&nbsp; It retrieves the icon using the Icons.GetImage() method of the ImageManager.<br><br>I'm not sure if that helps, but I wanted to share my experience.<br>]]>
   </description>
   <pubDate>Wed, 11 Feb 2009 13:24:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=45347&amp;title=reserved-image-ids#45347</guid>
  </item> 
  <item>
   <title><![CDATA[Reserved Image IDs :    oleg wrote:Hello,  Try...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=45342&amp;title=reserved-image-ids#45342</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3987">braian87b</a><br /><strong>Subject:</strong> 12858<br /><strong>Posted:</strong> 11 February 2009 at 12:40pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />Hello,<div>&nbsp;</div><div>Try avoid range from 9000 to 10000.</div></td></tr></table><br><br>Can i ask to you why to do this?<br><br>i have been problems time ago... because i have a imagemanager1 in a form1 and a imagenager2 in form2<br>then, if whant to load the iconid 101 from imagemanager2 in form2... it loads the iconid101 from imagemanager1...<br><br>this is a bug or what???<br>what is the reason of this?...<br>since the, i have to control the id's of the imagemanagers of the entire proyect to avoid duplicates that could perform a mistake. :(<img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="absmiddle"><br>]]>
   </description>
   <pubDate>Wed, 11 Feb 2009 12:40:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=45342&amp;title=reserved-image-ids#45342</guid>
  </item> 
  <item>
   <title><![CDATA[Reserved Image IDs : Thanks! I started with 10001,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=43454&amp;title=reserved-image-ids#43454</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3558">briansweat</a><br /><strong>Subject:</strong> 12858<br /><strong>Posted:</strong> 05 December 2008 at 9:12am<br /><br />Thanks!&nbsp; I started with 10001, so that's perfect!]]>
   </description>
   <pubDate>Fri, 05 Dec 2008 09:12:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=43454&amp;title=reserved-image-ids#43454</guid>
  </item> 
  <item>
   <title><![CDATA[Reserved Image IDs : Hello,  Try avoid range from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=43439&amp;title=reserved-image-ids#43439</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12858<br /><strong>Posted:</strong> 05 December 2008 at 2:29am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Try avoid range from 9000 to 10000.</DIV>]]>
   </description>
   <pubDate>Fri, 05 Dec 2008 02:29:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=43439&amp;title=reserved-image-ids#43439</guid>
  </item> 
  <item>
   <title><![CDATA[Reserved Image IDs : I&amp;#039;m just getting started...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=43429&amp;title=reserved-image-ids#43429</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3558">briansweat</a><br /><strong>Subject:</strong> 12858<br /><strong>Posted:</strong> 04 December 2008 at 2:49pm<br /><br />I'm just getting started with an ImageManager that will initially contain over 80 icons.&nbsp; I was planning on using a five digit number, where the first digit represents the category (in our application).&nbsp; For example, 10001, 10002, 20001, 20002, 20003, etc.<br><br>I recall seeing some comments about a few reserved IDs, but I can't find that list anywhere.&nbsp; Can someone point me to that?<br>]]>
   </description>
   <pubDate>Thu, 04 Dec 2008 14:49:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12858&amp;PID=43429&amp;title=reserved-image-ids#43429</guid>
  </item> 
 </channel>
</rss>