Re: Using INI files
From: Chip Pearson (chip_at_cpearson.com)
Date: 02/12/04
- Next message: Chip Pearson: "Re: Running a macro when a Wb is opened"
- Previous message: onedaywhen: "Re: Using Word Bookmarks to read Text"
- In reply to: Frank: "Using INI files"
- Next in thread: KJTFS: "Re: Using INI files"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 12 Feb 2004 09:40:41 -0600
Frank,
You can use INI files or the system registry to save settings
from one session to the next. For example, you can store the
position of a form when it is closed and then display the form in
the same position the next time it is displayed. If the settings
are stored in an INI file or the registry, they will be saved
even if the user exits Excel (or the VB6 program) between uses.
INI files are considered a dated, if not obsolete, approach, and
the generally preferred way is to save settings in the system
registry instead. You can use the GetSetting and SaveSetting VBA
functions to read and write values to the registry.
-- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Frank" <anonymous@discussions.microsoft.com> wrote in message news:ec0201c3f17d$98fd77e0$a301280a@phx.gbl... > Can some body tell me if there any benefit in using INI > file with excel applications, I read a mag where it said > that using INI files to hold items for forms and > formatting. Has any body here used them I can understand > using them with VB6 etc etc any feedback will be much > appreciated . > Frank
- Next message: Chip Pearson: "Re: Running a macro when a Wb is opened"
- Previous message: onedaywhen: "Re: Using Word Bookmarks to read Text"
- In reply to: Frank: "Using INI files"
- Next in thread: KJTFS: "Re: Using INI files"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading