<?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 : State Saving into wrong folder</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : State Saving into wrong folder]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 01:17:35 +0000</pubDate>
  <lastBuildDate>Sun, 23 Jul 2006 15:41:04 +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=4641</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[State Saving into wrong folder : It might be easier if we continue/merge...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4641&amp;PID=14324&amp;title=state-saving-into-wrong-folder#14324</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 4641<br /><strong>Posted:</strong> 23 July 2006 at 3:41pm<br /><br />It might be easier if we continue/merge this topic&nbsp;into this one:<DIV><a href="https://forum.codejock.com/forum_posts.asp?TID=4643" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=4643</A></DIV>]]>
   </description>
   <pubDate>Sun, 23 Jul 2006 15:41:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4641&amp;PID=14324&amp;title=state-saving-into-wrong-folder#14324</guid>
  </item> 
  <item>
   <title><![CDATA[State Saving into wrong folder : Thanks, but there is still a lot...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4641&amp;PID=14322&amp;title=state-saving-into-wrong-folder#14322</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 4641<br /><strong>Posted:</strong> 23 July 2006 at 3:18pm<br /><br />Thanks, but there is still a lot of stuff saved in the registry.<DIV>&nbsp;</DIV><DIV>If I add an icon to the toolbar (I think also if i customise the shortcuts), that info appears to be saved in the registry.</DIV><DIV>&nbsp;</DIV><DIV>There are also loads of reg items starting: "CommandBars" like "CommandBars-Bar0", "CommandBars-Options" etc.</DIV>]]>
   </description>
   <pubDate>Sun, 23 Jul 2006 15:18:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4641&amp;PID=14322&amp;title=state-saving-into-wrong-folder#14322</guid>
  </item> 
  <item>
   <title><![CDATA[State Saving into wrong folder : Hello,  See SetCustomizationDataFileName...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4641&amp;PID=14316&amp;title=state-saving-into-wrong-folder#14316</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4641<br /><strong>Posted:</strong> 23 July 2006 at 10:40am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>See SetCustomizationDataFileName method.</DIV>]]>
   </description>
   <pubDate>Sun, 23 Jul 2006 10:40:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4641&amp;PID=14316&amp;title=state-saving-into-wrong-folder#14316</guid>
  </item> 
  <item>
   <title><![CDATA[State Saving into wrong folder : The LoadCommandBars and SaveCommandBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4641&amp;PID=14311&amp;title=state-saving-into-wrong-folder#14311</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 4641<br /><strong>Posted:</strong> 23 July 2006 at 2:54am<br /><br />The LoadCommandBars and SaveCommandBars functions appear to save into the folder: <DIV>C:\Documents and Settings\USERNAME\Application Data\APPNAME</DIV><DIV>&nbsp;</DIV><DIV>This is not what I want and a bit different to every other application. It ought to save into a sub-folder (normally the company name). This is what its like in the Software section of registry as its what you use "SetRegistryKey" for.</DIV><DIV>&nbsp;</DIV><DIV>So we could (and should) use this value in the command bar load/save thus:</DIV><DIV>&nbsp;</DIV><DIV>Change "CXTPCommandBars::GetIsolatedFileName"...</DIV><DIV><table width="99%"><tr><td><pre class="BBcode">&nbsp;strAppDataFolder += CString(_T("\\")) + AfxGetApp()-&gt;m_pszAppName;<BR>&nbsp;CreateDirectory(strAppDataFolder, NULL);</pre></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>To...</DIV><DIV><table width="99%"><tr><td><pre class="BBcode">&nbsp;strAppDataFolder += CString(_T("\\")) + AfxGetApp()-&gt;m_pszRegistryKey;<BR>&nbsp;CreateDirectory(strAppDataFolder, NULL); //&nbsp;Create directory will not create missing folders so we have to create them as we go<BR>&nbsp;strAppDataFolder += CString(_T("\\")) + AfxGetApp()-&gt;m_pszAppName;<BR>&nbsp;CreateDirectory(strAppDataFolder, NULL);</pre></td></tr></table><BR></DIV><DIV>Any chance this can be fixed/improved??</DIV>]]>
   </description>
   <pubDate>Sun, 23 Jul 2006 02:54:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4641&amp;PID=14311&amp;title=state-saving-into-wrong-folder#14311</guid>
  </item> 
 </channel>
</rss>