Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Save contained in ControlEdit
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Save contained in ControlEdit

 Post Reply Post Reply
Author
Message
Akim View Drop Down
Newbie
Newbie
Avatar

Joined: 13 July 2010
Location: France
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Akim Quote  Post ReplyReply Direct Link To This Post Topic: Save contained in ControlEdit
    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


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 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
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.145 seconds.