<?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 : Managing CommandBars design</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Managing CommandBars design]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 11:38:05 +0000</pubDate>
  <lastBuildDate>Fri, 05 Jan 2007 10:42:37 +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=5940</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[Managing CommandBars design : From my experience, xml and vb6...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5940&amp;PID=18906&amp;title=managing-commandbars-design#18906</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1932">LittleJK</a><br /><strong>Subject:</strong> 5940<br /><strong>Posted:</strong> 05 January 2007 at 10:42am<br /><br />From my experience, xml and vb6 can become quite slow when using it as a configuration tool to build toolbars and their popup menus. This is due to that an xml file is parsed from top to bottom going through each line until it finds the start and end tag of the specified menu or tool bar you are calling. <br><br>I would keep everything in a separate file and not load all at once from the beginning when launching the mdi form. I don't even know if it's possible to load all the command bars without having the child forms loaded?<br><br>&nbsp;By loading each commandbars.xcb file on the form load of each child, then you will split the load. Also, it would be extreme brain damage or if you have a great xml editor to keep track of what command bar you want to modify if you place everything in one file, let a lone the icon images are not being referenced from location but loaded in multiple times.<br><br><br>I asked a similar question before about xcb verse going the coding route to the codejock gurus and their reply is that coding it is the way to go. I whole heartly agree with them. At first, I was sold on the designer because it was a gui version but once you start to get really in depth with all the coding (which you still have to do) that is associated with it. It's really hard to keep track of what command bar, buttons and actions without being able to see it in the code per form. Plus to use the xcb files you really need to understand the coding end.&nbsp; <br><br>Right now, in one of our development projects has over 50 command bars and we are about half way on to completion of all the forms. It takes some organization such as using private subs to organize the form load, create modules to house the configuration properties of your command bars so you don't have to keep cutting and pasting the same declarations which comes in handy with other codejock controls, loading the images into the commandbar imagelist (which if you are going use the same icons through out the application then you set the constant to it's ID)and setting constants without duplication.<br><br><br>]]>
   </description>
   <pubDate>Fri, 05 Jan 2007 10:42:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5940&amp;PID=18906&amp;title=managing-commandbars-design#18906</guid>
  </item> 
  <item>
   <title><![CDATA[Managing CommandBars design : Hoping some more experienced Codejock...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5940&amp;PID=18701&amp;title=managing-commandbars-design#18701</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2593">Nomlas</a><br /><strong>Subject:</strong> 5940<br /><strong>Posted:</strong> 29 December 2006 at 9:34am<br /><br /><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">Hoping some more experienced Codejock developers will share their thoughts on managing the development of lots of toolbars in a VB6 application.&nbsp; I'm working on a large MDI application with a main menu bar and toolbar, and separate toolbars and context popups for many child windows. <?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">&nbsp;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">I've experimented with the designer and creating everything in code.&nbsp; I'm leaning toward the designer.&nbsp; But it's slow going given the lack of documentation (beyond the simple tutorial).<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">&nbsp;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">One question, to hopefully start a discussion:&nbsp; Should&nbsp; I try and put all commandbars, say 20, in the same XCB(XML) file, load them in the main MDI module initially and selectively enable/disable in the appropriate forms?&nbsp; Or, would it be better to create a separate XCB for each one?&nbsp; <o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">&nbsp;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">Would really appreciate hearing how others approach this, before committing....<o:p></o:p></SPAN></P>]]>
   </description>
   <pubDate>Fri, 29 Dec 2006 09:34:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5940&amp;PID=18701&amp;title=managing-commandbars-design#18701</guid>
  </item> 
 </channel>
</rss>