<?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 : TabControl.SetImageList error</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : TabControl.SetImageList error]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 17:57:31 +0000</pubDate>
  <lastBuildDate>Fri, 24 Nov 2006 10:55:20 +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=5573</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[TabControl.SetImageList error : Ohh okay thanks I see now. I wanted...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5573&amp;PID=17594&amp;title=tabcontrol-setimagelist-error#17594</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2525">Majek</a><br /><strong>Subject:</strong> 5573<br /><strong>Posted:</strong> 24 November 2006 at 10:55am<br /><br />Ohh okay thanks I see now. I wanted to use the ImageManager in the first place I just didnt know how.]]>
   </description>
   <pubDate>Fri, 24 Nov 2006 10:55:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5573&amp;PID=17594&amp;title=tabcontrol-setimagelist-error#17594</guid>
  </item> 
  <item>
   <title><![CDATA[TabControl.SetImageList error : Hi,  When you call SetImageList...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5573&amp;PID=17534&amp;title=tabcontrol-setimagelist-error#17534</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5573<br /><strong>Posted:</strong> 22 November 2006 at 1:53am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>When you call SetImageList you must use ActiveX vesion of mscommCtrl imagelist (I think you try managed vesion now).&nbsp; Better use our ImageMnager control or load icons using TabControl.Icons property.</DIV>]]>
   </description>
   <pubDate>Wed, 22 Nov 2006 01:53:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5573&amp;PID=17534&amp;title=tabcontrol-setimagelist-error#17534</guid>
  </item> 
  <item>
   <title><![CDATA[TabControl.SetImageList error : make that 13 tabs ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5573&amp;PID=17532&amp;title=tabcontrol-setimagelist-error#17532</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2525">Majek</a><br /><strong>Subject:</strong> 5573<br /><strong>Posted:</strong> 22 November 2006 at 1:36am<br /><br />make that 13 tabs <img src="https://forum.codejock.com/smileys/smiley26.gif" border="0">]]>
   </description>
   <pubDate>Wed, 22 Nov 2006 01:36:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5573&amp;PID=17532&amp;title=tabcontrol-setimagelist-error#17532</guid>
  </item> 
  <item>
   <title><![CDATA[TabControl.SetImageList error : I&amp;#039;m trying to display 16x16...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5573&amp;PID=17526&amp;title=tabcontrol-setimagelist-error#17526</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2525">Majek</a><br /><strong>Subject:</strong> 5573<br /><strong>Posted:</strong> 21 November 2006 at 5:00pm<br /><br /><DIV>I'm trying to display 16x16 images from an ImageList on a TabControl, I have 12 tabs and 12 images in the Imagelist.<BR>(TC=TabControl, IL=ImageList)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With TC<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .SetImageList(IL)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .InsertItem(0, "Play", 0, 0)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .InsertItem(1, "Stop", 0, 1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .InsertItem(2, "Pause", 0, 2)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .InsertItem(3, "Resume", 0, 3)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .InsertItem(4, "Back", 0, 4)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .InsertItem(5, "Next", 0, 5)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .InsertItem(6, "Random", 0, 6)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .InsertItem(7, "Continuous", 0, 7)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .InsertItem(8, "Reverse", 0, 8)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .InsertItem(9, "Repeat", 0, 9)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .InsertItem(10, "Shuffle", 0, 10)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .InsertItem(11, "Queue", 0, 11)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .InsertItem(12, "Info", 0, 12)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With</DIV><DIV>&nbsp;</DIV><DIV>When I run it it&nbsp;returns this exception:</DIV><DIV><BR>System.InvalidCastException: No such interface supported<BR>&nbsp;&nbsp; at System.Runtime.InteropServices.Marshal.GetIDispatchForObject(Object o)<BR>&nbsp;&nbsp; at System.Runtime.InteropServices.DispatchWrapper..ctor(Object obj)<BR>&nbsp;&nbsp; at System.RuntimeType.WrapArgsForInvokeCall(Object&#091;&#093; aArgs, Int32&#091;&#093; aWrapperTypes)<BR>&nbsp;&nbsp; at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32&#091;&#093; aWrapperTypes, MessageData&amp; msgData)<BR>&nbsp;&nbsp; at XtremeSuiteControls._DTabControl.SetImageList(Object ImageList)<BR>&nbsp;&nbsp; at AxXtremeSuiteControls.AxTabControl.SetImageList(Object imageList)<BR>&nbsp;&nbsp; at WindowsApplication1.frmMain.frmMain_Load(Object sender, EventArgs e)</DIV><DIV>&nbsp;</DIV><DIV>Am I doing something wrong?</DIV>]]>
   </description>
   <pubDate>Tue, 21 Nov 2006 17:00:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5573&amp;PID=17526&amp;title=tabcontrol-setimagelist-error#17526</guid>
  </item> 
 </channel>
</rss>