On May 29, 2004, at 10:15 PM, Jay Rimalrick wrote:
I'm sorry I was not more clear, my question about a cross platform
preference
file was more concerned with the file path. I'm not sure if I am
going to make
an installer for my program, if I was i would simply put it in the
folder that my
program was created in. However, if I let the user drag the program
where
they like, they may put it on their desktop and then the preference
file would
be on the desktop.
I know the mac keeps preference files in the preferences folder.
However I
don't really know where windows standardly keeps their preference
files. I
don't think there is a place. I was just wondering if realbasic
offered a simply
way to write preference files in a standard place despite the platform.
Take a look at the "PreferencesFolder" function. On Linux, prepend a
"." to the beginning of the name as well, since the Preferences Folder
is the user's home directory, and that's just "The Way It Is™"
HTH,
Jon
--
Jonathan Johnson
Testing Department
REAL Software, Inc.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|