<?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 : Saving and loading Ribbon customization</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Saving and loading Ribbon customization]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 20:12:58 +0000</pubDate>
  <lastBuildDate>Tue, 11 Mar 2014 07:54:47 +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=21904</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[Saving and loading Ribbon customization : Thanks, but even after calling...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21904&amp;PID=72339&amp;title=saving-and-loading-ribbon-customization#72339</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4171">dbenito</a><br /><strong>Subject:</strong> 21904<br /><strong>Posted:</strong> 11 March 2014 at 7:54am<br /><br />Thanks, but even after calling RibbonBar.Controls.CreateOriginalControls (where RibbonBar is a reference I store when calling CommandBars.AddRibbonBar), it still saves absolutely everything, which means I need to create the ribbon bar, load the user customization, and then reset all the captions, descriptions, etc. in case the user has changed the UI language of my program.<br /><br />Moreover, calling RibbonBar.Reset does absolutely nothing. Back when we still used normal command bars, simply calling EnableCustomization was enough to get everything to work automatically. Do I now need to add code to the CustomizationResetAll event to re-create the ribbon? (This is what is done in the RibbonSample example.)<br /><br />I'm sorry, but this all seems like a step backwards - there are very basic things that should work automatically, and I find myself jumping through hoops just to get them working acceptably. ]]>
   </description>
   <pubDate>Tue, 11 Mar 2014 07:54:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21904&amp;PID=72339&amp;title=saving-and-loading-ribbon-customization#72339</guid>
  </item> 
  <item>
   <title><![CDATA[Saving and loading Ribbon customization : If you only want to save customized...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21904&amp;PID=72213&amp;title=saving-and-loading-ribbon-customization#72213</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6226">Willowmaster</a><br /><strong>Subject:</strong> 21904<br /><strong>Posted:</strong> 28 January 2014 at 5:22am<br /><br />If you only want to save customized controls you have to call the .CreateOriginalControls on the CommandbarsControls collection after initially setting the controls on the commandbar. That way the CodeJock software knows when controls are customized.]]>
   </description>
   <pubDate>Tue, 28 Jan 2014 05:22:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21904&amp;PID=72213&amp;title=saving-and-loading-ribbon-customization#72213</guid>
  </item> 
  <item>
   <title><![CDATA[Saving and loading Ribbon customization :  OK, I got the CreateAsRegistry...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21904&amp;PID=72209&amp;title=saving-and-loading-ribbon-customization#72209</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4171">dbenito</a><br /><strong>Subject:</strong> 21904<br /><strong>Posted:</strong> 24 January 2014 at 4:40am<br /><br />OK, I got the CreateAsRegistry call to work. The problem now is that if I set the SerializeControls property of the StateOptions object to false, it doesn't save anything. If I set it to True, and I also set SaveOnlyCustomized to True, it still saves absolutely everything.<div>&nbsp;</div><div>Basically, I want it to save any manual changes made by the end user to the ribbon or the QAB, but I don't want it to save any of the original information about the ribbon controls (captions, images, etc.) which may need to change from time to time.</div><div>&nbsp;</div><div>Is there really no way to do this?</div>]]>
   </description>
   <pubDate>Fri, 24 Jan 2014 04:40:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21904&amp;PID=72209&amp;title=saving-and-loading-ribbon-customization#72209</guid>
  </item> 
  <item>
   <title><![CDATA[Saving and loading Ribbon customization :  Can anybody provide a working...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21904&amp;PID=72208&amp;title=saving-and-loading-ribbon-customization#72208</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4171">dbenito</a><br /><strong>Subject:</strong> 21904<br /><strong>Posted:</strong> 24 January 2014 at 4:23am<br /><br />Can anybody provide a working example for using CreateAsRegistry? No matter what I try, it always returns false, so I can't actually properly test calling DoPropExchange. I have the feeling I got it to work the last time I tested this, but I did it in a test project which I no longer have.]]>
   </description>
   <pubDate>Fri, 24 Jan 2014 04:23:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21904&amp;PID=72208&amp;title=saving-and-loading-ribbon-customization#72208</guid>
  </item> 
  <item>
   <title><![CDATA[Saving and loading Ribbon customization : I think you should not use the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21904&amp;PID=71791&amp;title=saving-and-loading-ribbon-customization#71791</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6226">Willowmaster</a><br /><strong>Subject:</strong> 21904<br /><strong>Posted:</strong> 05 November 2013 at 9:04am<br /><br />I think you should not use the options SerializeControls And SerializeDesignerControls. Let me know if that's it. If not I have another suggestion which involves doing two times a propexchange. :)]]>
   </description>
   <pubDate>Tue, 05 Nov 2013 09:04:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21904&amp;PID=71791&amp;title=saving-and-loading-ribbon-customization#71791</guid>
  </item> 
  <item>
   <title><![CDATA[Saving and loading Ribbon customization :  Is there any way to save only...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21904&amp;PID=71656&amp;title=saving-and-loading-ribbon-customization#71656</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4171">dbenito</a><br /><strong>Subject:</strong> 21904<br /><strong>Posted:</strong> 11 October 2013 at 4:34am<br /><br />Is there any way to save only the ribbon customization, rather than the entire ribbon?<div>&nbsp;</div><div>I have an application where the users can change the UI language, so when I create the ribbon in my code, I set the appropriate captions depending on the language selected by the user. I then use LoadCommandBars to load the ribbon customization from the registry.</div><div>&nbsp;</div><div>Unfortunately, this means that if the user changes the language, when I load the customizations from the registry, the correct captions are replaced by the captions in the previous UI language.</div><div>&nbsp;</div><div>In a previous version of this application, we got around this by using actions and resetting the captions of all of the actions after loading the customization. Unfortunately, when we transitioned to using the ribbon we found we needed to set different captions (shorter or longer) for the same actions depending on where they appeared, so this is no longer an option.</div><div>&nbsp;</div><div>I've tried using DoPropExchange with various different combinations of StateOptions, but it doesn't seem to work. Needless to say, there are no code examples for using DoPropExchange with the registry, and the ones for XML don't really show anything useful.</div><div>&nbsp;</div><div>Does anybody have any idea how to do this? Or maybe some kind of workaround I could use?</div><div>&nbsp;</div><div>Regards,</div><div>&nbsp;</div><div>Daniel</div>]]>
   </description>
   <pubDate>Fri, 11 Oct 2013 04:34:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21904&amp;PID=71656&amp;title=saving-and-loading-ribbon-customization#71656</guid>
  </item> 
 </channel>
</rss>