There is some sample code at http://support.microsoft.com/?kbid=210001 to
create an INI file.

Signature
Duane Hookom
MS Access MVP
> Can Access vba create / modify / read INI files? I would like to put some
> general environment options in an INI file outside of the database so that
[quoted text clipped - 5 lines]
> Thanks,
> Dave
dave k - 27 Sep 2005 18:46 GMT
Thanks. This should work in creating and files.
Dave
> There is some sample code at http://support.microsoft.com/?kbid=210001 to
> create an INI file.
[quoted text clipped - 8 lines]
> > Thanks,
> > Dave
Look at GetSetting and SaveSetting.
However, these save settings in the User part of the registry,
so they don't apply if a different user is logged in to Windows.
These functions replaced the INI file functions of the same name.
(david)
> Can Access vba create / modify / read INI files? I would like to put some
> general environment options in an INI file outside of the database so that
[quoted text clipped - 4 lines]
> Thanks,
> Dave
Douglas J. Steele - 27 Sep 2005 14:34 GMT
> Look at GetSetting and SaveSetting.
>
> However, these save settings in the User part of the registry,
> so they don't apply if a different user is logged in to Windows.
>
> These functions replaced the INI file functions of the same name.
At least, Microsoft intended them to replace INI files.
In my opinion, there's still much to be said for using INI files (or, I
suppose, XML files) to store program parameters and the like. It's far
easier to tell a user to "double click on MyFile.INI and change what's on
line 4 to..." than it is to tell them to update the registry!

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)