Re: Looking for some advice for my program
- From: "Karl E. Peterson" <karl@xxxxxxxx>
- Date: Mon, 4 Feb 2008 13:51:47 -0800
Webbiz wrote:
All this time, I had not thought of using an INI format. In fact, I had
completely forgotten that you use API calls to deal with them. Being simple
text files, I can only think that the API is for dealing with the 'order' of
the information, so that I do not have to. Would that be the correct
assumption?
The API is for reading/writing just the info you want. Nothing more or less. INI
files are organized into sections, each of which can have multiple (even same-named)
entries. The API provides a way to say, "Give me entry X from section Y" or "Save Z
as entry X in section Y." All values are strings, of course, open to interpretation
as you wish. As you surmise, the "order" of information is totally irrelevent in an
INI.
I've settled on a class-based tool to work with INI files in my apps. You may find
it helpful in thinking about how you want to do this. See:
http://vb.mvps.org/samples/kpIni
--
..NET: It's About Trust!
http://vfred.mvps.org
.
- References:
- Looking for some advice for my program
- From: Kardon Coupé
- Re: Looking for some advice for my program
- From: Jan Hyde (VB MVP)
- Re: Looking for some advice for my program
- From: Webbiz
- Looking for some advice for my program
- Prev by Date: Re: Strange Type Declaration ERROR, please help!
- Next by Date: Re: How to Hire a Coder
- Previous by thread: Re: Looking for some advice for my program
- Next by thread: Re: Looking for some advice for my program
- Index(es):
Relevant Pages
|