Board index » delphi » INI Files?

INI Files?

I'm working on an app that needs to run 1) completely from CD, or
2) completely installed on disk drive - local or network, or 3)
combination, where software/data files are on disk but large image files
are accessed from CD.  In addition, there is one small file which is
created each time the program runs, which must be stored on a local
drive even if they are running otherwise completely from CD.

I'm going to have to know what drive the CD is and where they want this
transaction file.  Has anyone worked with writing/reading INI files to
keep this information?  Can you point me to a source to learn about
this?  

Many Thanks!
glit...@TimeTrend.com

 

Re:INI Files?


Gail:

If you just need to know how to read & write the ini files, look at the
tinifile component.  It is a non-visible one that does a great job and it
is standard in delphi!

-D

In article <339590BB.3...@timetrend.com>, glit...@timetrend.com says...

Quote

>I'm working on an app that needs to run 1) completely from CD, or
>2) completely installed on disk drive - local or network, or 3)
>combination, where software/data files are on disk but large image files
>are accessed from CD.  In addition, there is one small file which is
>created each time the program runs, which must be stored on a local
>drive even if they are running otherwise completely from CD.

>I'm going to have to know what drive the CD is and where they want this
>transaction file.  Has anyone worked with writing/reading INI files to
>keep this information?  Can you point me to a source to learn about
>this?  

>Many Thanks!
>glit...@TimeTrend.com

--
-------------------------------------------------------
Pacifier Online Data Service Dialup SLIP/PPP User
To register: (360) 693-0325 or telnet pods.pacifier.com
-------------------------------------------------------

Re:INI Files?


I would say use the inifiles unit included with Delphi.  It's pretty
straightforward and has nice functionality for reading and writing
inifiles.  it should be in the online help for Delphi.

Gail C. Little <glit...@timetrend.com> wrote in article
<339590BB.3...@timetrend.com>...

Quote
> I'm working on an app that needs to run 1) completely from CD, or
> 2) completely installed on disk drive - local or network, or 3)
> combination, where software/data files are on disk but large image files

Other Threads