<?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: Error with v12.0.1 RibbonBar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : SOLVED: Error with v12.0.1 RibbonBar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 20:02:00 +0000</pubDate>
  <lastBuildDate>Sun, 13 Jul 2008 19:24:56 +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=11421</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: Error with v12.0.1 RibbonBar : The solution is in the Dim statement....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11421&amp;PID=38306&amp;title=solved-error-with-v12-0-1-ribbonbar#38306</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4225">chrisABC</a><br /><strong>Subject:</strong> 11421<br /><strong>Posted:</strong> 13 July 2008 at 7:24pm<br /><br />The solution is in the Dim statement.<br><br>&nbsp; in v12.0.0&nbsp; this works OK.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ControlPrint as CommandBarControl<br><br>but in v12.0.1&nbsp; this must be changed to:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ControlPrint as <font color="#cc0000">CommandBarPopup</font><br><br><br> The rest of the code is:<br><font color="#6666ff">&nbsp;&nbsp;&nbsp;&nbsp; Set ControlFile = RibbonBar.AddSystemButton()<br>&nbsp; &nbsp; . . . . <br>&nbsp; &nbsp; With ControlFile.CommandBar.Controls<br>&nbsp; &nbsp; &nbsp; &nbsp; Set ControlPrint = .Add(xtpControlsplitButtonPopup, ID_FILE_PRINT, "Print")<br>&nbsp; &nbsp; &nbsp; &nbsp; Set PopupBar = commandBars.CreateCommandBar("CXTPRibbonSystemPopupBarPage")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ControlPrint.CommandBar = PopupBar</font><br><br><br>With this change to the Dim statement, my program runs OK under v12.0.1<br>]]>
   </description>
   <pubDate>Sun, 13 Jul 2008 19:24:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11421&amp;PID=38306&amp;title=solved-error-with-v12-0-1-ribbonbar#38306</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Error with v12.0.1 RibbonBar : Just to confirm this.I uninstalled...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11421&amp;PID=38305&amp;title=solved-error-with-v12-0-1-ribbonbar#38305</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4225">chrisABC</a><br /><strong>Subject:</strong> 11421<br /><strong>Posted:</strong> 13 July 2008 at 6:32pm<br /><br />Just to confirm this.<br><br>I uninstalled v12.0.1 and then installed v 12.0.0<br>My programs then run OK.<br><br>Uninstalled v12.0.0 and then installed 12.0.1<br>My program now reports error 438 "Object doesn't support property....<br>]]>
   </description>
   <pubDate>Sun, 13 Jul 2008 18:32:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11421&amp;PID=38305&amp;title=solved-error-with-v12-0-1-ribbonbar#38305</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Error with v12.0.1 RibbonBar :   The following code (taken...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11421&amp;PID=38296&amp;title=solved-error-with-v12-0-1-ribbonbar#38296</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4225">chrisABC</a><br /><strong>Subject:</strong> 11421<br /><strong>Posted:</strong> 13 July 2008 at 9:15am<br /><br />The following code (taken from the Ribbon Sample) worked OK in my program with v12.0.0&nbsp;&nbsp; (in the Create ribbonBar sub)<br><br>&nbsp; &nbsp; Set ControlFile = RibbonBar.AddSystemButton()<br>&nbsp; &nbsp; . . . . <br>&nbsp; &nbsp; With ControlFile.CommandBar.Controls<br>&nbsp; &nbsp; &nbsp; &nbsp; Set ControlPrint = .Add(xtpControlsplitButtonPopup, ID_FILE_PRINT, "Print")<br>&nbsp; &nbsp; &nbsp; &nbsp; Set PopupBar = commandBars.CreateCommandBar("CXTPRibbonSystemPopupBarPage")<br>&nbsp;&nbsp;&nbsp; Set ControlPrint.CommandBar = PopupBar<br><br><br>After I updated to v12.0.1<br>The program stops on the last line with.&nbsp;&nbsp; Error 438<br>&nbsp;&nbsp;&nbsp;&nbsp; "Object doesn't support this property or method"<br><br>--------------------------------------------------------------------------------<br>However, the Ribbon Sample still runs OK with v12.0.1&nbsp; so there must be something else (not the above code) that is affecting it.<br><br>Any ideas?&nbsp;&nbsp; If not I shall have to start comparing the Ribbon Sample with my own code to see what is different.<br><br><font color="#ff3300">(SOLVED:&nbsp; with v12.0.1 ControlPrint must be Dim as CommandBarPopup<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (with v12.0.0 it could be dim as CommandBarControl))</font><br>]]>
   </description>
   <pubDate>Sun, 13 Jul 2008 09:15:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11421&amp;PID=38296&amp;title=solved-error-with-v12-0-1-ribbonbar#38296</guid>
  </item> 
 </channel>
</rss>