gettingstarted
[Top] [All Lists]

Re: Cross Platform Preference File

To: ascii at 1st dot net, Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Cross Platform Preference File
From: Jonathan Johnson <jonj at realsoftware dot com>
Date: Sat, 29 May 2004 22:17:36 -0500
Cc:
Delivered-to: gettingstarted at lists dot realsoftware dot com
List-help: <mailto:gettingstarted-request@lists.realsoftware.com?subject=help>
List-id: Getting Started <gettingstarted.lists.realsoftware.com>
List-post: <mailto:gettingstarted@lists.realsoftware.com>
References: <200405292315 dot AA1683489244 at 1st dot net>

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>

<Prev in Thread] Current Thread [Next in Thread>