INI files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
relinking to a backend and the various backend locations can be easier along
with some other environment variables. If yes, can someone point me to an
example?

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)
 
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!
 
Back
Top