Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - SaveStateToXMLString DesignerFile
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SaveStateToXMLString DesignerFile

 Post Reply Post Reply
Author
Message
Josef View Drop Down
Groupie
Groupie


Joined: 15 April 2006
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote Josef Quote  Post ReplyReply Direct Link To This Post Topic: SaveStateToXMLString DesignerFile
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Josef View Drop Down
Groupie
Groupie


Joined: 15 April 2006
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote Josef Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2008 at 11:50am
Hi,

I think you mean the XML file:

20080513_114839_test.zip

Thanks, Josef
Product: Xtreme SuitePro ActiveX v13.2.1
Platform: Windows 2008 (64bit)
Language: Visual Basic 6.0
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.234 seconds.