What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » reading boolean from registry

reading boolean from registry
Author: Message:
TheGeek
Full Member
***

Avatar
Excuse my geekyness.

Posts: 179
Reputation: 15
33 / Male / –
Joined: Feb 2005
RE: reading boolean from registry
Can't you just read/write it as a string?
code:
Shell.RegWrite(MsgPlus.ScriptRegPath + Messenger.MyEmail + "\\" + key, bMyVal?"true":"false");
code:
bMyVal = (Shell.RegRead(MsgPlus.ScriptRegPath + Messenger.MyEmail + "\\" + key) == "true");

also, your shell object won't be deleted, because the function returns before your delete statement.

This post was edited on 07-21-2006 at 09:24 PM by TheGeek.
[Image: 468x60banner.png]
07-21-2006 09:22 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
reading boolean from registry - by Ezra on 07-21-2006 at 08:48 PM
RE: reading boolean from registry - by deAd on 07-21-2006 at 09:20 PM
RE: reading boolean from registry - by TheGeek on 07-21-2006 at 09:22 PM
RE: reading boolean from registry - by Ezra on 07-21-2006 at 10:28 PM
RE: reading boolean from registry - by CookieRevised on 07-21-2006 at 10:31 PM
RE: reading boolean from registry - by Ezra on 07-22-2006 at 03:56 PM
RE: reading boolean from registry - by J-Thread on 07-22-2006 at 06:04 PM
RE: reading boolean from registry - by Ezra on 07-22-2006 at 06:08 PM
RE: reading boolean from registry - by J-Thread on 07-22-2006 at 07:19 PM


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