saving to a .ini - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: saving to a .ini (/showthread.php?tid=92126) saving to a .ini by chrisb on 09-05-2009 at 08:06 PM can anyone tell me how to save and load from a .ini file? RE: saving to a .ini by tribbium on 09-06-2009 at 11:41 AM
From the best of my knowledge, .ini files are just plaintext files with a renamed extension. All you have to do is read and write from file as you would do for normal files, except formatting it as the 'standard' dictates. RE: saving to a .ini by Mnjul on 09-06-2009 at 12:57 PM Well, using functions like WritePrivateProfileString should save you efforts that you have to spend with "reading and writing as normal text files". RE: saving to a .ini by chrisb on 09-08-2009 at 02:34 PM I know what an ini file is, I want an example of how to write a single variable to an ini file. and also how to read it. RE: saving to a .ini by ArkaneArkade on 09-08-2009 at 03:07 PM
OK, man, cool. All anybody means is there are other ways that are better than using an ini, but obviously sometimes there are needs for other methods. |