Page 1 of 1

Consulting savesettings

Posted: September 15th, 2018, 11:46 am
by AriSilva
Is there a way to list or consult the savesettings in csentry?
I´m not talking about executing the loadsetting statement, I´m talking about having a tool or an utility that would manage the list of all the settings in csentry with their respective values.
All the best
Ari

Re: Consulting savesettings

Posted: September 15th, 2018, 11:59 am
by Gregory Martin
You could use the SqlQuery function to query the settings file and then display them in with the ShowArray statement. In any case, you would have to write functions to do this yourself.

On Windows the file is located here: C:\Users\<your username>\AppData\Roaming\CSPro\CommonStore.db

You can do it easily in the designer: http://www.csprousers.org/help/CSPro/us ... tings.html

If you want the user to modify certain settings, I think you would be better off storing the settings in an external file that you can access with a dictionary.