Save contained in ControlEdit
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=16946
Printed Date: 27 November 2024 at 11:15am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Save contained in ControlEdit
Posted By: Akim
Subject: Save contained in ControlEdit
Date Posted: 13 July 2010 at 8:26am
Hello
I would like to record (in any way with the content of ControlEdit.text) but not
Here is my code
CommandBars.ActiveMenuBar.Customizable = True Dim pxWrite As PropExchange Set pxWrite = CommandBars.GlobalSettings.CreatePropExchange Dim Options As StateOptions Set Options = CommandBars.CreateStateOptions Options.SerializeControls = True Options.SaveOnlyCustomized = False Options.SaveOriginalControls = True Options.SerializeOptions = True Options.SerializeLayout = True Options.SerializeActions = True Options.SerializeDesignerControls = True Options.LoadSilent = True 'Options.SerializeImages = True pxWrite.CreateAsXML False, "CustomerInformation" CommandBars.DoPropExchange pxWrite, Options pxWrite.SaveToFile "c:\Setting.xml"
please how to recover the contained fields?
Thank
VB6 13.4
|
Replies:
Posted By: Oleg
Date Posted: 14 July 2010 at 2:37am
Hello,
CommandBars don't save/restore this Text - same as Checked State/Enabled State - it have to be part of your application state not commandbars.
------------- Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS
|
|