<?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 : HowTo Delete CommandBars &#079;bject?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : HowTo Delete CommandBars &#079;bject?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:59:34 +0000</pubDate>
  <lastBuildDate>Fri, 30 Jul 2004 05:44:09 +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=999</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[HowTo Delete CommandBars &#079;bject? : CHello.  I create at runtime...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=999&amp;PID=2611&amp;title=howto-delete-commandbars-object#2611</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=664">IUnknown</a><br /><strong>Subject:</strong> 999<br /><strong>Posted:</strong> 30 July 2004 at 5:44am<br /><br /><font size="7"><span style="font-family: arial,helvetica,sans-serif;"><font size="2"><span style="font-family: arial,helvetica,sans-serif;">CHello.<br><br>I create at runtime a CommandBars Object in a UserControl, here is the Code:<br><br>Private m_Toolbar As XtremeCommandBars.CommandBars<br><br>Set m_Toolbar = Controls.Add("COMMANDBARS.CommandBarsCtrl.1", "NToolbar")<br><br>Later, if i dont need the CommandBars anymore, i want to destroy them, but how,? I tried this way:<br><br>Controls.Remove "</span></font></span></font><font size="7"><span style="font-family: arial,helvetica,sans-serif;"><font size="2"><span style="font-family: arial,helvetica,sans-serif;">NToolbar</span></font></span></font><font size="7"><span style="font-family: arial,helvetica,sans-serif;"><font size="2"><span style="font-family: arial,helvetica,sans-serif;">"<br>Set m_Toolbar = Nothing<br><br>It doesnt work. If then i create a new Toolbar, the App close without ErrorMessages.<br><br>So my question is simple, how can i destroy a Toolbar completely, so that i can create later a new one?<br><br>Greets, IUnknown</span></font></span></font>]]>
   </description>
   <pubDate>Fri, 30 Jul 2004 05:44:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=999&amp;PID=2611&amp;title=howto-delete-commandbars-object#2611</guid>
  </item> 
 </channel>
</rss>