Re: Preferences file for/from a runtime application [message #15071 is a reply to message #15064] |
Wed, 14 April 1999 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Robert King (kingrj2@bp.com) writes:
> I'm writing a couple of programs that are to be distributed with runtime
> licences. I would like to know whether it is possible to create a
> preferences file so that the user can have the program set up in the way
> that they want.
>
> I know that I can easily create a defaults file, but what I want is for
> *THEM* to be able to *edit* it from the runtime. I know that the runtime
> distribution doesn't allow you to create .sav files so I don't really hold
> out much hope!.. any ideas?...
I'm quite sure this is not true. There is no restriction
as far as I know that runtime programs can't create save
files (as long as you are doing nothing but saving variables).
In fact, I have a program here in front of me for one of our
clients that does exactly that on a Windows NT machine.
I don't know off hand if this is a limitation on other
architectures.
Runtime licenses can also write files, so I don't see
any reason you can't easily implement a "preferences
editor", which might, for example, tell the runtime
application where to find the appropriate save file.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|