Print Page | Close Window

[RESOLVED]RC SaveSettings - not all settings saved

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=17415
Printed Date: 15 November 2024 at 3:48pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [RESOLVED]RC SaveSettings - not all settings saved
Posted By: mstuart
Subject: [RESOLVED]RC SaveSettings - not all settings saved
Date Posted: 12 October 2010 at 4:39pm
Hi all,
It seems not all settings are saved/loaded when using the RC.SaveSettings or RC.LoadSettings Method.
In particular:
1) ShowGroupBox
2) PaintManager: HighlightForeColor, HighlightBackColor, and ShadeSortColor

These are the settings I give the end user while using a report control. They select the options from a CommandBar Popup on a right-click on the RC header.

Does anybody know if this is correct, or am I missing something?



-------------
Regards,
Mark Stuart

Product: Xtreme SuitePro (ActiveX) v13.2.1
Platform: WinXP (32bit)/Win7 (64bit)
Language: VB6 (SP6), Magic eDeveloper v9.4, uniPaaS v1.9



Replies:
Posted By: mstuart
Date Posted: 13 October 2010 at 1:16pm
Hi all,
To update this thread, I've taken the development path to write and read the particular RC settings that are NOT saved using SaveSettings method, to the Windows Registry.



-------------
Regards,
Mark Stuart

Product: Xtreme SuitePro (ActiveX) v13.2.1
Platform: WinXP (32bit)/Win7 (64bit)
Language: VB6 (SP6), Magic eDeveloper v9.4, uniPaaS v1.9


Posted By: Aaron
Date Posted: 13 October 2010 at 3:52pm
Hi,
 
Did you consider CreatePropExchange method
 
XtremeReportControl.CreatePropExchange.CreateAsXML
XtremeReportControl.CreatePropExchange.CreateAsBinaryFile
 
In these cases just a file is created and you are able to load from a file rather than read/write registry. And maybe you aren't allowed to write to registry and only have one directory to use and have permission to read and write in this (sub)directory... Just an idea Wink
 
btw You added RESOLVED to topic description? What is difference between SOLVED and RESOLVED?     
 

   


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: mstuart
Date Posted: 13 October 2010 at 4:00pm
Hi Aaron,
Currently, I'm not familiar with CreatePropExchange method.
I'll look into that. So thanx for the ideas.

Concerning [RESOLVED] and [SOLVED]:
Because the SaveSettings and LoadSettings methods do not save or load ALL settings, I don't see this thread issue as solved.
So I have resolved the issue with a work-around by reading the properties in question and writing them to somewhere else besides the data retrieved from the SaveSettings method.

If you see it different, please let me know what to change it to.



-------------
Regards,
Mark Stuart

Product: Xtreme SuitePro (ActiveX) v13.2.1
Platform: WinXP (32bit)/Win7 (64bit)
Language: VB6 (SP6), Magic eDeveloper v9.4, uniPaaS v1.9


Posted By: Aaron
Date Posted: 13 October 2010 at 4:13pm
Hi Mark,
 
I don't mind what you enter in topic description as long we all do the same Wink 
If you would show code how to solve the "problem" the topic would be solved, right? Other user know that it isn't possible (only partial) within the control itself and have to use own code to get around the issue. So SOLVED would be the right word for the topic description. But if you prefer RESOLVED I will be satisfied, better something than nothing Big smile
 
Thanks
     


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



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