Print Page | Close Window

SaveStateToString

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=5243
Printed Date: 20 June 2025 at 5:55pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SaveStateToString
Posted By: Fabian
Subject: SaveStateToString
Date Posted: 08 October 2006 at 8:18am
Hello
 
I am in trouble with SaveStatetoString doing the following steps...
 
1) Load a command bar from XCB
2) The user make some changes not with the customization dialog but with the mouse (e.g. floating a toolbar)
3) In the Unload event of the form I SaveStatetoString
 
4) Opening the form again I reload the XCB
5) Changing the toolbars with LoadStatefrom String
 
=== So far all works OK
 
6) In the Unload event of the form I SaveStatetoString (no user changes as in step 2)
 
7) Opening the form again reloading the XCB
8) LoadStatefromString
 
=== Now all changes from step 2) are gone.
 
It seems, that SaveStatetoString does not save changes that are reloaded with LoadStatefromString!?
 
I use VB6, ActiveX, latest version of CJ controls. I tried all possible Options with the two methods SaveStatetoString and LoadStatefromString.
 
Thanks for any help
 
Fabian


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net