Print Page | Close Window

feature suggestion

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=15738
Printed Date: 21 June 2025 at 12:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: feature suggestion
Posted By: evoX
Subject: feature suggestion
Date Posted: 27 November 2009 at 8:26pm
You should include in ToolkitPro a feature to save all the settings in an XML file instead of Registry and the XML file should be in the app folder. Saving large amounts of data in Registry by many applications slows down the system performance.

-------------
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit
Language: Visual C++ (VS 2019)



Replies:
Posted By: Marcus
Date Posted: 28 November 2009 at 4:25am
i hope you mean  app _settings_ folder


Posted By: evoX
Date Posted: 28 November 2009 at 5:16am
app settings or even in the main application folder, anything is better than storing large amounts of data in registry

-------------
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit
Language: Visual C++ (VS 2019)


Posted By: Marcus
Date Posted: 28 November 2009 at 1:41pm
Standard users don't have write access to the programs folder.
Also the app folder is not part of roaming user profiles.


Posted By: evoX
Date Posted: 28 November 2009 at 7:46pm
you're right, I forgot, because all our apps require admin rights :)
 


-------------
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit
Language: Visual C++ (VS 2019)


Posted By: Oleg
Date Posted: 01 December 2009 at 4:45am
Hi,
 
See GUI_Visual Studio sample - it shows how save CommandBars and DockingPane state to XML.


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


Posted By: evoX
Date Posted: 01 December 2009 at 12:10pm
thanks !
but I don't see where it saves the XML file? and you should also add WriteProfileStringXML and GetProfileStringXML


-------------
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit
Language: Visual C++ (VS 2019)


Posted By: Oleg
Date Posted: 02 December 2009 at 4:32am
See Samples\UserInterface\GUI_VisualStudio\MainFrm.cpp  file.
 
It's not good idea to have WriteProfileStringXML/GetProfileStringXML because in this case on each call you have load whole XML, parse it and save again. Better save and load all settings once.


-------------
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