Re: .ini .dat or registry question
- From: "Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 8 Jul 2005 12:52:39 -0700
"Steve Easton" <admin@xxxxxxxxxxxxx> wrote in message
news:OZm%23c0%23gFHA.1048@xxxxxxxxxxxxxxxxxxxxxxx
> Which is better used to store 2 or 3 simple program settings, an ini file,
> dat file or the
> registry.
>
> From reading posts here, it seems using the registry is frowned upon, but
> everything I
> read
> recommends "against" using a file of any sort.
>
> As always, tyia.
>
> --
> Steve
> 95isalive
> This site is best viewed..................
> ..............................with a computer
Besides the "where do I store it" question, there's a "who's going to use
it" question. For the most part, files will be available to anyone that logs
on. If you're storing to an INI file and want to keep user specific
settings, it'll be a bit extra work (not much... but some) If you store to
the registry using VB's built in reg functions, you have no choice. Your
settings will be user specific.
Here's a couple of great INI file functionality wrappers. I've used the
first many times (because I found it first) but they both make it easy to
manipulate INI files.
Easy INI File Access
http://www.vbaccelerator.com/home/VB/Code/Libraries/Registry_and_Ini_Files/Easy_Ini_File_Access/article.asp
kpIni
http://vb.mvps.org/samples/project.asp?id=kpIni
--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
.
- Follow-Ups:
- Re: .ini .dat or registry question
- From: 95isalive
- Re: .ini .dat or registry question
- References:
- .ini .dat or registry question
- From: Steve Easton
- .ini .dat or registry question
- Prev by Date: Re: .ini .dat or registry question
- Next by Date: Re: .ini .dat or registry question
- Previous by thread: Re: .ini .dat or registry question
- Next by thread: Re: .ini .dat or registry question
- Index(es):
Relevant Pages
|