Write/copy ini section to registry

Posted by Bobp12404 on August 09, 2008

Hi,
I can save some configuration settings for my app to an ini file for loading when the app starts up. I would like to be able to save those same settings to the registry, optionally loaded from the ini files. Can someone explain to me how to load the ini/text file to the registry using name/value pairs? The ini structure is something like the following:
 

[XSettings]
color=blue
color=red
color=green
  
[YSettings]
range=high
range=mid
range=low
  
[Zsettings]
when=before
when=now
when=after

Thanks for any help!

Related articles

       

Follow Ups