>Leston Drake wrote:
>
>> You missed the point ;-). You're thinking of the Windows registry as a
>> mechanism for storing information on what application to use to launch a
>> certain file type. This is only one purpose of the Windows registry.
>> Application developers use it as a generally accessible database for storing
>> any type of (developer-defined!) information for an application.
>>In my case, I
> > need to store the path to the installed application.
>
>...
>But maybe you are checking to see where the installation was in order to
>find out later if the app has been moved; if so, you'd probably want to
>store the original path in a preferences file in the system folder.
You could simply write a text file in the same folder (or one level
down) as the program to hold the path to the stack. The first time
you install it, write the path to a file named mainpath.txt and see
if it's the same as when you installed the program.
In fact, just storing the preferences in the same directory as the
stack itself helps a lot... moving the program from one computer to
the next is a lot easier, and you don't have to futz with a separate
Registry on Windows and making a text file on Mac... just have a
file, prefs.txt or something, that you can read any user-defined
preferences from.
--
Karl Becker, KB Productions | Featuring Tiger's Eye Casino,
http://www.karlbecker.com | The Fishin' Hole, and New Tricks
|
| Also featuring un-cut writings of Karl!
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.