Derek Johnson Active Member Licensed User Longtime User Jun 24, 2015 #2 Thanks for creating that. That's really good. Also it is a very good example of how to define and use classes.
Thanks for creating that. That's really good. Also it is a very good example of how to define and use classes.
Alberto Iglesias Well-Known Member Licensed User Longtime User May 5, 2019 #3 Filippo said: Hi, today I want to share my classe PreferenceManager with you. View attachment 30840 Click to expand... Hello Filippo, I'm using this class a long time ago, but I found one bug when one client of mine told me this: Supose you try to save this: manager.SetString("Password","000000") and when you try to retrieve, you get: just "0" and the expected is "000000" thank you
Filippo said: Hi, today I want to share my classe PreferenceManager with you. View attachment 30840 Click to expand... Hello Filippo, I'm using this class a long time ago, but I found one bug when one client of mine told me this: Supose you try to save this: manager.SetString("Password","000000") and when you try to retrieve, you get: just "0" and the expected is "000000" thank you
Alberto Iglesias Well-Known Member Licensed User Longtime User May 5, 2019 #4 Great Filippo!!! thank you!!!!!!!!!!!!
Alberto Iglesias Well-Known Member Licensed User Longtime User May 6, 2019 #5 i found my mistake watching your sample: I create a function to make easy the calls for your class and I initialize everytime, now I just check if initialized or not and works fine Code: 'Dim manager As clsPreferenceManager If manager.IsInitialized = False Then manager.Initialize End If
i found my mistake watching your sample: I create a function to make easy the calls for your class and I initialize everytime, now I just check if initialized or not and works fine Code: 'Dim manager As clsPreferenceManager If manager.IsInitialized = False Then manager.Initialize End If