Print Page | Close Window

SaveStateToXMLString DesignerFile

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=10599
Printed Date: 16 June 2025 at 1:11pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SaveStateToXMLString DesignerFile
Posted By: Josef
Subject: SaveStateToXMLString DesignerFile
Date Posted: 12 May 2008 at 8:39am
Hello,

I'd like to save the current command bar state and edit it in the Designer Studio.
I can save the XML file, but when I try to import the XML in Designer Studio, nothing happens (no error, nothing).

The ID is "DesignerFile" and the following StateOptions are used:
.LoadSilent = True

.SerializeActions = True
.SaveOnlyCustomized = False
.SaveOriginalControls = True
.SerializeDesignerControls = True
.SerializeControls = True
.SerializeImages = True
.SerializeLayout = True
.SerializeOptions = True

Is there anything more to do, so that the XML file could be imported?

Thank you,
Josef


-------------
Product: Xtreme SuitePro ActiveX v13.2.1
Platform: Windows 2008 (64bit)
Language: Visual Basic 6.0



Replies:
Posted By: Oleg
Date Posted: 12 May 2008 at 11:22am
Hi,
 
Looks good. maybe you can attach dll you have after SaveState ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Josef
Date Posted: 13 May 2008 at 11:50am
Hi,

I think you mean the XML file:

uploads/20080513_114839_test.zip - 20080513_114839_test.zip

Thanks, Josef


-------------
Product: Xtreme SuitePro ActiveX v13.2.1
Platform: Windows 2008 (64bit)
Language: Visual Basic 6.0


Posted By: Oleg
Date Posted: 14 May 2008 at 6:33am
Hi,
 
its encoding issue. By default xml has UTF8 encoding. but your XML has some german characters. to allow load it with designer add this line
<?xml version="1.0" encoding="windows-1252"?>
in top of file.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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