What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » saving to a .ini

saving to a .ini
Author: Message:
chrisb
New Member
*


Posts: 13
Joined: Sep 2009
O.P. saving to a .ini
can anyone tell me how to save and load from a .ini file?
09-05-2009 08:06 PM
Profile E-Mail PM Find Quote Report
tribbium
Junior Member
**


Posts: 34
Reputation: 3
– / Male / Flag
Joined: Jul 2008
RE: saving to a .ini
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.

outlined here: http://en.wikipedia.org/wiki/INI_file

It isn't anything really static, its just convention and really makes no difference =p.
Are you and your friends trivia enthusiasts? Download Tribbium! http://www.msgpluslive.net/scripts/view/427-Tribb...ia-Gaming-System)/

Download questions for Tribbium here:
http://www.tribbium.tk
09-06-2009 11:41 AM
Profile E-Mail PM Web Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5397
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: saving to a .ini
Well, using functions like WritePrivateProfileString should save you efforts that you have to spend with "reading and writing as normal text files".
09-06-2009 12:57 PM
Profile PM Web Find Quote Report
chrisb
New Member
*


Posts: 13
Joined: Sep 2009
O.P. RE: saving to a .ini
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.
09-08-2009 02:34 PM
Profile E-Mail PM Find Quote Report
ArkaneArkade
Full Member
***

Avatar
The One and Only

Posts: 193
Reputation: 5
36 / Male / Flag
Joined: Mar 2007
RE: saving to a .ini
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.

This should hopefully give you what you need: felipEx's reply to [Request] Read, write and delete from/to ini file
[Image: adsig.jpg]
09-08-2009 03:07 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On