This module makes it extremely simple to create, store, & use preferences in your application.
Simply, add the module to your application and use the following methods to store & retrieve settings.
GetPreff(Name as String) As String
PutPreff(Name as String, Value as String) As boolean
(Note that the settings will be stored in the correct location depending on which OS the program is running on.)
(A sample Realbasic project is included.)
UPDATED 1/7/2009 : updated the module to be compatible with the newer versions of realbasic (2009, etc...) The old version is still available for older versions of RB.
This work is licensed under a Creative Commons Attribution-Noncommercial 3.0 United States License.
| Attachment | Size |
|---|---|
| modAppPreffs.zip | 29.43 KB |
| modAppPreffs RB2009.zip | 31.03 KB |
Thanks!
Total newb at RB, I gave it an honest try, but Google is my friend. This preference module fit my need exactly.
License Change
Changed to a Creative Commons License instead of the old GNU GPL v 2
Silverwolf