Home » U++ Library support » U++ Core » Configurations [Solved]
Re: Configurations [message #55068 is a reply to message #55067] |
Thu, 08 October 2020 08:55 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
jimlef wrote on Wed, 07 October 2020 23:46Primarily, 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
|
|
|
Goto Forum:
Current Time: Sun May 26 13:50:02 CEST 2024
Total time taken to generate the page: 0.00461 seconds
|