Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Configurations [Solved]
Re: Configurations [message #55068 is a reply to message #55067] Thu, 08 October 2020 08:55 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
jimlef wrote on Wed, 07 October 2020 23:46
Primarily, when I first run the program I want it to know my details - the db file, company info, and the default directory for saving files such as pdf's (haven't figured out how to implement that last yet). When you run the program, it starts with a default and errors out if say the db file can't be opened.
Also, if details change, would be easier to update info - such as new business location etc.

I an always hand edit my config file, but thought it would be cleaner if things were done programmatically.

Jim


I see. Well, you can do that, but I think the best fit then for you would be storing config in JSON. Check this one:

https://www.ultimatepp.org/reference$Jsonize$en-us.html
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Big issue with Visual Studio 2019 (some versions)
Next Topic: How to construct a struct to get data from this XML?
Goto Forum:
  


Current Time: Sun May 26 13:50:02 CEST 2024

Total time taken to generate the page: 0.00461 seconds