<?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 : LoadStateFromString SaveStateFromString</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : LoadStateFromString SaveStateFromString]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 07:02:49 +0000</pubDate>
  <lastBuildDate>Mon, 11 Aug 2008 16:33:14 +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=9856</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[LoadStateFromString SaveStateFromString : Got it sorted - I had a pane with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=39721&amp;title=loadstatefromstring-savestatefromstring#39721</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4408">RonG</a><br /><strong>Subject:</strong> 9856<br /><strong>Posted:</strong> 11 August 2008 at 4:33pm<br /><br /><DIV>Got it sorted - I had a pane with an ID of 0.&nbsp; I could not get it to load correctly until I changed the pane ID to 1.</DIV>]]>
   </description>
   <pubDate>Mon, 11 Aug 2008 16:33:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=39721&amp;title=loadstatefromstring-savestatefromstring#39721</guid>
  </item> 
  <item>
   <title><![CDATA[LoadStateFromString SaveStateFromString : OK - new issue. Correcting my...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=39643&amp;title=loadstatefromstring-savestatefromstring#39643</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4408">RonG</a><br /><strong>Subject:</strong> 9856<br /><strong>Posted:</strong> 08 August 2008 at 4:06pm<br /><br />OK - new issue.&nbsp; Correcting my error worked beautifully in my small sample project.&nbsp; Now that I have&nbsp;implemented the fix in my production application, I have a new issue.&nbsp; Although I can save values via the SaveStateToString and SaveState methods, neither the LoadStateFromString nor the LoadState methods appear to do anything.&nbsp; I can verify that string and/or registry key is getting created, however, nothing changes when I run the corresponding Load method.&nbsp; <DIV>&nbsp;</DIV><DIV>Interestingly, the GetLayout and SetLayout methods work perfectly, but do not provide any way of saving the data.</DIV><DIV>&nbsp;</DIV><DIV>Uploading my production app is not feasible, but I can copy the string that gets saved if that would be useful.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>Any thoughts?</DIV>]]>
   </description>
   <pubDate>Fri, 08 Aug 2008 16:06:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=39643&amp;title=loadstatefromstring-savestatefromstring#39643</guid>
  </item> 
  <item>
   <title><![CDATA[LoadStateFromString SaveStateFromString : Excellent - thanks. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=39625&amp;title=loadstatefromstring-savestatefromstring#39625</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4408">RonG</a><br /><strong>Subject:</strong> 9856<br /><strong>Posted:</strong> 08 August 2008 at 8:51am<br /><br />Excellent - thanks.]]>
   </description>
   <pubDate>Fri, 08 Aug 2008 08:51:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=39625&amp;title=loadstatefromstring-savestatefromstring#39625</guid>
  </item> 
  <item>
   <title><![CDATA[LoadStateFromString SaveStateFromString : Hi, You have attach panes in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=39615&amp;title=loadstatefromstring-savestatefromstring#39615</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9856<br /><strong>Posted:</strong> 08 August 2008 at 6:35am<br /><br />Hi,<DIV>You have attach panes in Attach event. See our samples.</DIV>]]>
   </description>
   <pubDate>Fri, 08 Aug 2008 06:35:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=39615&amp;title=loadstatefromstring-savestatefromstring#39615</guid>
  </item> 
  <item>
   <title><![CDATA[LoadStateFromString SaveStateFromString : I am having a similar problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=39564&amp;title=loadstatefromstring-savestatefromstring#39564</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4408">RonG</a><br /><strong>Subject:</strong> 9856<br /><strong>Posted:</strong> 07 August 2008 at 9:49am<br /><br />I am having a similar problem actually. My forms all seem to be invisible as soon as I LoadStateFromString. I have uploaded a sample .NET app to demonstrate the issue. In the sample, move the panes, then hit "Save State". Move the panes again, then hit "Load State". In my environment, the forms in the panes are now not visible. Any thoughts? <BR><BR><a href="http://www.sendspace.com/file/zur79z" target="_blank">http://www.sendspace.com/file/zur79z</A><DIV></DIV>]]>
   </description>
   <pubDate>Thu, 07 Aug 2008 09:49:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=39564&amp;title=loadstatefromstring-savestatefromstring#39564</guid>
  </item> 
  <item>
   <title><![CDATA[LoadStateFromString SaveStateFromString : Strange indeed. It is so strange,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=32196&amp;title=loadstatefromstring-savestatefromstring#32196</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1401">jpcoffeyXXX</a><br /><strong>Subject:</strong> 9856<br /><strong>Posted:</strong> 12 March 2008 at 3:11pm<br /><br />Strange indeed.&nbsp; It is so strange, I could not even reproduce the error for uploading.&nbsp; I must have done something wrong.&nbsp;  <img src="http://forum.codejock.com/smileys/smiley18.gif" border="0" align="absmiddle"> <br><br><br>The panes are working perfectly with the code I provided in my initial problem statement.&nbsp; I double-click them to make them disappear and they don't.&nbsp; In any case, thanks for the timely response.<br><br>Sincerely,<br><br>John<br>]]>
   </description>
   <pubDate>Wed, 12 Mar 2008 15:11:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=32196&amp;title=loadstatefromstring-savestatefromstring#32196</guid>
  </item> 
  <item>
   <title><![CDATA[LoadStateFromString SaveStateFromString : Hi, Too odd. Please upload sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=32174&amp;title=loadstatefromstring-savestatefromstring#32174</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9856<br /><strong>Posted:</strong> 12 March 2008 at 2:17am<br /><br /><DIV>Hi,</DIV><DIV>Too odd. Please upload sample to demonstrate.</DIV>]]>
   </description>
   <pubDate>Wed, 12 Mar 2008 02:17:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=32174&amp;title=loadstatefromstring-savestatefromstring#32174</guid>
  </item> 
  <item>
   <title><![CDATA[LoadStateFromString SaveStateFromString :  Trouble loading state for the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=32141&amp;title=loadstatefromstring-savestatefromstring#32141</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1401">jpcoffeyXXX</a><br /><strong>Subject:</strong> 9856<br /><strong>Posted:</strong> 11 March 2008 at 8:45am<br /><br />Trouble loading state for the docking panes.&nbsp; Based on the help file and some of the discussion I have read in the forums, I have been using the following,<br><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; <br>Private Sub Form_Load()<br>&nbsp;&nbsp;&nbsp; <font color="#009900">'Only needs to be called if setting the size in Form_Load</font><br>&nbsp;&nbsp;&nbsp; </font><font face="Courier New, Courier, mono">DockingPane1</font><font face="Courier New, Courier, mono">.RecalcLayout<br><br>&nbsp;&nbsp;&nbsp; strPanes = RetrieveXMLLayoutPseudoCode() <br>&nbsp;&nbsp;&nbsp; If Len(strPanes) &gt; 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#009900">'Load the docking pane</font><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DockingPane1.LoadStateFromString strPanes<br>&nbsp;&nbsp;&nbsp; End If<br>End Sub</font><br><br><br>The panes layout nicely, however when I click on the contents of the panes they disappear!&nbsp; Moreover, the contents of the panes are already in a PictureBox so I know that is not the problem.&nbsp; I can literally query the value for visibility and the visible property will show up as False.&nbsp; Yet, the controls are always supposed to be visible.&nbsp; When I do not execute the LoadStateFromString command, the panes are rock solid.&nbsp; I can double-click on the contents, resize the panes with the splitter, etc.&nbsp; No problems whatsoever.&nbsp; Does anyone have any suggestions on what I may be doing wrong?&nbsp; Thank you very much for your feedback.<br><br>Sincerely,<br><br><br>John<br><br>]]>
   </description>
   <pubDate>Tue, 11 Mar 2008 08:45:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9856&amp;PID=32141&amp;title=loadstatefromstring-savestatefromstring#32141</guid>
  </item> 
 </channel>
</rss>