What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] X360+

[Release] X360+
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: [Release] X360+
There's nothing hard on reading/writing booleans from an XML file, as long as you do it properly:

Writing:
code:
node.text = 1*bBoolean;
Reading:
code:
bBoolean = (1*node.text == true);
That way, you always read and write 0 or 1 and you don't have to worry about converting a string containing "true" to a Boolean and such.

However, if it's for keeping a user's preferences, I'd recommend using the registry, yes. It's easier for you, the developer: no need to create extra files in places where they may get lost, preferences are properly removed when script is uninstalled and the functions are lots simpler. It's also better for the user: he/she won't easily delete them accidentally.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
11-06-2008 05:41 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Release] X360+ - by ArkaneArkade on 11-02-2008 at 07:57 PM
RE: [Release] X360+ - by prashker on 11-02-2008 at 07:59 PM
RE: RE: [Release] X360+ - by ArkaneArkade on 11-02-2008 at 08:01 PM
RE: [Release] X360+ - by prashker on 11-02-2008 at 08:05 PM
RE: [Release] X360+ - by ArkaneArkade on 11-02-2008 at 08:13 PM
RE: [Release] X360+ - by prashker on 11-02-2008 at 08:19 PM
RE: [Release] X360+ - by ArkaneArkade on 11-02-2008 at 10:25 PM
RE: [Release] X360+ - by prashker on 11-02-2008 at 10:30 PM
RE: [Release] X360+ - by SmokingCookie on 11-04-2008 at 07:14 PM
RE: RE: [Release] X360+ - by ArkaneArkade on 11-04-2008 at 10:31 PM
RE: [Release] X360+ - by SmokingCookie on 11-05-2008 at 03:11 PM
RE: [Release] X360+ - by ArkaneArkade on 11-05-2008 at 05:18 PM
RE: [Release] X360+ - by SmokingCookie on 11-05-2008 at 06:18 PM
RE: RE: [Release] X360+ - by ArkaneArkade on 11-05-2008 at 06:39 PM
RE: [Release] X360+ - by SmokingCookie on 11-05-2008 at 06:56 PM
RE: RE: [Release] X360+ - by ArkaneArkade on 11-06-2008 at 05:19 PM
RE: [Release] X360+ - by Matti on 11-06-2008 at 05:41 PM
RE: [Release] X360+ - by ArkaneArkade on 11-09-2008 at 01:48 PM
RE: [Release] X360+ - by ArkaneArkade on 11-12-2008 at 11:05 AM


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