quote:
Originally posted by raceprouk
quote:
Originally posted by Choli
RegQueryValueEx, RegSetValueEx, RegOpenKeyEx, RegCloseKey
Forgetting RegCreateKey? Kinda important...
And of course RegCreateKeyEx, the complex version...
quote:
Originally posted by Choli
They're RegQueryValueEx, RegSetValueEx, RegOpenKeyEx, RegCloseKey and others.
quote:
Originally posted by CookieRevised
Some people will say that using INI-files is lame and the "old" method. Well this is far from true. So don't be fooled by them... (even if you are experienced with the registry, INI-files have benefits over the registry in many cases, just like the registry-method has some benefits over INI's)
True. RileyM: be sure you understand the differences between both methods and you can choose the one that best suits your needs.
quote:
Originally posted by CookieRevised
You must use API's also (just like if you want to use the registry), I don't know the exact API's from the top of my head, but you sure will find them (or someone will list them here)....
APIs for read/write from/in an INI file:
GetPrivateProfileSectionNames, GetPrivateProfileSection, GetPrivateProfileInt, GetPrivateProfileString, WritePrivateProfileString
I used those in the last public version of the messenger plus translator, however there are some others more.
Note: Be careful with those APIs. Under windows 9x/Me there's a bug with them: You can't use filer larger than 65505 bytes (aprox)
quote:
Originally posted by raceprouk
quote:
Originally posted by Choli
GetSetting and SaveSetting
Don't they deal with the INI file?
No, but I think there's some other function in VB that does that. I can't find it now (maybe i'm wrong and it doesn't exist)