<?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 : Define one Toolbar - resulting in two (one empty)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Define one Toolbar - resulting in two (one empty)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 02:11:55 +0000</pubDate>
  <lastBuildDate>Mon, 23 May 2011 20:53: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=18428</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[Define one Toolbar - resulting in two (one empty) : 1) Before building your toolbars,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18428&amp;PID=64550&amp;title=define-one-toolbar-resulting-in-two-one-empty#64550</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 18428<br /><strong>Posted:</strong> 23 May 2011 at 8:53pm<br /><br />1) Before building your toolbars, call CommandBarHusb.DeleteAll<br>2) ToolbarHusb.ShowExpandButton = False<br>]]>
   </description>
   <pubDate>Mon, 23 May 2011 20:53:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18428&amp;PID=64550&amp;title=define-one-toolbar-resulting-in-two-one-empty#64550</guid>
  </item> 
  <item>
   <title><![CDATA[Define one Toolbar - resulting in two (one empty) : Place CommandBars control on form Add...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18428&amp;PID=64549&amp;title=define-one-toolbar-resulting-in-two-one-empty#64549</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5054">DaveB</a><br /><strong>Subject:</strong> 18428<br /><strong>Posted:</strong> 23 May 2011 at 8:33pm<br /><br />Place CommandBars control on form<DIV>Add the following code in FormLoad:</DIV><DIV>&nbsp;</DIV><DIV>Dim ToolbarHusb As CommandBar<BR>&nbsp;&nbsp;&nbsp; Set ToolbarHusb = CommandBarHusb.Add("Husband", xtpBarTop)<BR>&nbsp;&nbsp;&nbsp; AddButton ToolbarHusb.Controls, xtpControlButton, ID_SPOUSES_HUSB<BR>&nbsp;&nbsp;&nbsp; ' add a few more buttons</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; CommandBarHusb.Icons.LoadBitmap App.Path &amp; "\res\Female32.png", ID_SPOUSES_HUSB, xtpImageNormal 'Pic:4013<BR>&nbsp;&nbsp;&nbsp; 'load a few more icons</DIV><DIV>&nbsp;</DIV><DIV>Run the program:</DIV><DIV>&nbsp;</DIV><DIV>I am getting a blank bar above the one I am defining.&nbsp; Why?</DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/uploads/5054/toolbar.png" height="322" width="392" border="0" /></DIV><DIV>&nbsp;</DIV><DIV>Also, how do I turn off the "Add or Remove..." option?</DIV><DIV>&nbsp;</DIV><DIV>VB6 ActiveX</DIV><DIV>&nbsp;</DIV><DIV>DaveB</DIV>]]>
   </description>
   <pubDate>Mon, 23 May 2011 20:33:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18428&amp;PID=64549&amp;title=define-one-toolbar-resulting-in-two-one-empty#64549</guid>
  </item> 
 </channel>
</rss>