Consulting savesettings

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

Consulting savesettings

Post 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
Best
Ari
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Consulting savesettings

Post 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.
Post Reply