Community
Showing results for 
Search instead for 
Do you mean 
Reply

Settings

Copper Contributor
Posts: 26
Country: United Kingdom

Settings

An application I'm developing has a number of user settings and preferences that it would be helpful to store within the ACT! database rather than have the user setup them up every time. The settings would be a selection of numbers and strings.

 

Does anyone know if there is a resource in the ACT! framework to provide this?

 

I'm presuming that ACT! itself must be keeping its own settings somewhere.

 

Thanks.

Luke

 

Copper Contributor
Posts: 26
Country: United Kingdom

Re: Settings

On further investigation, this looks like it's what I need.

 

In case this helps anyone else, the Preferences class has the ability to load and save settings.

 

        Instance.Preferences.SetPreference("MySetting", "MyValue")
        MsgBox(Instance.Preferences.GetPreference("MySetting"))

Luke