<?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 : Changing Ribb&#111;nBar Capti&#111;ns</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Changing Ribb&#111;nBar Capti&#111;ns]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 00:25:29 +0000</pubDate>
  <lastBuildDate>Wed, 22 Mar 2006 15:59:55 +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=3825</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[Changing Ribb&#111;nBar Capti&#111;ns : Changing to Dim ControlRibbonButton...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3825&amp;PID=11651&amp;title=changing-ribbonbar-captions#11651</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 3825<br /><strong>Posted:</strong> 22 March 2006 at 3:59pm<br /><br />Changing to Dim ControlRibbonButton as CommandBarControl worked.<br><br>My contants were fine, didn't have to change anything.<br><br>Thanks!<br>]]>
   </description>
   <pubDate>Wed, 22 Mar 2006 15:59:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3825&amp;PID=11651&amp;title=changing-ribbonbar-captions#11651</guid>
  </item> 
  <item>
   <title><![CDATA[Changing Ribb&#111;nBar Capti&#111;ns : Hmm,I&amp;#039;m not sure why you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3825&amp;PID=11616&amp;title=changing-ribbonbar-captions#11616</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 3825<br /><strong>Posted:</strong> 22 March 2006 at 7:58am<br /><br />Hmm,<br>I'm not sure why you don't get type mismatch.<br><br>Try:<br>Dim ControlRibbonButton As CommandBarControl<br>]]>
   </description>
   <pubDate>Wed, 22 Mar 2006 07:58:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3825&amp;PID=11616&amp;title=changing-ribbonbar-captions#11616</guid>
  </item> 
  <item>
   <title><![CDATA[Changing Ribb&#111;nBar Capti&#111;ns : also replace Dim ControlRibbonButton...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3825&amp;PID=11615&amp;title=changing-ribbonbar-captions#11615</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3825<br /><strong>Posted:</strong> 22 March 2006 at 7:57am<br /><br /><P>also replace</P><P>Dim ControlRibbonButton As CommandBarPopup</P><P>to</P><P>Dim ControlRibbonButton As CommandBarControl</P>]]>
   </description>
   <pubDate>Wed, 22 Mar 2006 07:57:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3825&amp;PID=11615&amp;title=changing-ribbonbar-captions#11615</guid>
  </item> 
  <item>
   <title><![CDATA[Changing Ribb&#111;nBar Capti&#111;ns : Hello, Just tried to change our...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3825&amp;PID=11614&amp;title=changing-ribbonbar-captions#11614</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3825<br /><strong>Posted:</strong> 22 March 2006 at 7:56am<br /><br /><P>Hello,</P><P>Just tried to change our sample and it worked as expected.</P><P>I sure the problem in ID_QUEUES and ID_INPRODUCTION&nbsp;&nbsp; - may be they are declared somewhere as private. </P><P>&nbsp;</P><P>Declare them as</P><P><strong>Public Const </strong>ID_QUEUES = 9</P><P><strong>Public Const </strong>ID_INPRODUCTION = 12</P><P>&nbsp;</P><P>try to add</P><P>Option Explicit<BR>in the biginning of file to see if these constants are visible.</P>]]>
   </description>
   <pubDate>Wed, 22 Mar 2006 07:56:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3825&amp;PID=11614&amp;title=changing-ribbonbar-captions#11614</guid>
  </item> 
  <item>
   <title><![CDATA[Changing Ribb&#111;nBar Capti&#111;ns : I am trying to change the caption...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3825&amp;PID=11588&amp;title=changing-ribbonbar-captions#11588</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 3825<br /><strong>Posted:</strong> 21 March 2006 at 3:46pm<br /><br />I am trying to change the caption of one of my submenus that expands down from a RibbonBar.<br><br>Can anyone help with the following code?<br><br>private sub SetUpRibbonBar<br>&nbsp;&nbsp;&nbsp; Dim tabBatches As RibbonTab<br>&nbsp;&nbsp;&nbsp; Dim RibbonBar As RibbonBar<br>&nbsp;&nbsp;&nbsp; Dim GroupBatches As RibbonGroup<br>&nbsp;&nbsp;&nbsp; Dim ControlRibbonButton As CommandBarPopup<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set RibbonBar = CommandBars.AddRibbonBar("MainRibbon")<br>&nbsp;&nbsp;&nbsp; Set tabBatches = RibbonBar.InsertTab(0, "Batches")<br>&nbsp;&nbsp;&nbsp; Set GroupBatches = tabBatches.Groups.AddGroup("Batch Functions")<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set ControlRibbonButton = GroupBatches.Add(xtpControlSplitButtonPopup, ID_CREATEBATCH, "Create")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlRibbonButton.CommandBar.Controls.Add xtpControlButton, ID_CREATEBATCH, "Create Batch"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlRibbonButton.CommandBar.Controls.Add xtpControlButton, 0, "Create Imageless Batch"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; GroupBatches.Add xtpControlButton, ID_CLOSEBATCH, "Close Batch"<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set GroupBatches = tabBatches.Groups.AddGroup("Queues")<br>&nbsp;&nbsp;&nbsp; Set ControlRibbonButton = GroupBatches.Add(xtpControlSplitButtonPopup, ID_QUEUES, "Queues")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlRibbonButton.CommandBar.Controls.Add xtpControlButton, ID_INPRODUCTION, "In Production", -1, False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlRibbonButton.CommandBar.Controls.Add xtpControlButton, ID_INBILLING, "In Billing", -1, False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; CommandBars.Icons = imCommandBar.Icons<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; Set ControlRibbonButton = CommandBars.FindControl(xtpControlButton, ID_INPRODUCTION, , True)<br>&nbsp;&nbsp;&nbsp; Debug.Print ControlRibbonButton.Caption&nbsp;&nbsp;  '&lt;----Returns "Queues".&nbsp; I want it to return "In Production"<br><br>End Sub<br><br>ID_QUEUES = 9<br>ID_INPRODUCTION = 12<br><br>I'm sure it's something simple but I can't seem to get it.<br>]]>
   </description>
   <pubDate>Tue, 21 Mar 2006 15:46:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3825&amp;PID=11588&amp;title=changing-ribbonbar-captions#11588</guid>
  </item> 
 </channel>
</rss>