New topic: 

Program Preferences

<http://forums.realsoftware.com/viewtopic.php?t=29226>

       Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic         Author  
Message       DanSandbergUCONN           Post subject: Program 
PreferencesPosted: Sat Jul 25, 2009 3:31 pm                        
Joined: Fri Dec 21, 2007 9:50 am
Posts: 141              If you want to allow the user to assign program 
preferences that are saved after the program is quit and re-opened, what is the 
easiest way to accomplish this?  I've been having the program write a text file 
saved to the same directory as the program and then the program parses the text 
file upon opening.  Is this the correct way to do it?   
                            Top               tomis           Post subject: Re: 
Program PreferencesPosted: Sat Jul 25, 2009 9:56 pm                             
  
Joined: Thu Jul 27, 2006 6:31 pm
Posts: 1511
Location: Monterey, CA              I don't have links to the exact discussions 
offhand but I'd suggest searching the forums here as this issue has been 
discussed several times. Also, try a search at rbgarage.com as there are a few 
ready-made solutions.

There are appropriate locations on each OS. Storing preferences in the same 
directory as your app is not good form. Generally speaking, you should store 
the preferences in the appropriate sub directory within the user's home folder.

See SpecialFolder in the REALbasic Language Reference     
_________________
ImagePlay Effects Library (40+ image effects in one open source module. No 
plugins, no dependencies, no restrictions.) 
http://imageplay.sourceforge.net/  
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]     
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to