by Dreamcoding (5 Submissions)
Category: Registry
Compatability: VB Script
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (8 Votes)
Want an easier way to save and retrieve the value of a control to and from the registry?
Why use SaveSetting(app.EXEName, "Settings", "Text1", Text1.Text)?
When you can use:
RegSave(Text1, Text1)
Ofcourse you can still use SaveSetting(blah,blah,blah,blah) when you want your program to remember something specific.
But for popular controls, I think you will find RegSave and RegGet to be easier. It's easier to use the name of the control than using your own naming convention.
Let me know if you find this method useful, if you do, please toss me a vote. If not, Ready Aim Fire with the comments. Thanks
Keywords: Saving Registry GetSetting SaveSetting Load Value Retrieve Value INI Settings
Side Effects
Can only save one property per control.
Upload