What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » RegWrite Causing Errors?

RegWrite Causing Errors?
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. RegWrite Causing Errors?
quote:
Originally posted by The Debug Window
Error: .
       Line: 135. Code: -2147418113.
Function OnEvent_Initialize returned an error. Code: -2147352567

line 135 is
code:
WriteRegistry("OldPSM",Messenger.MyPersonalMessage);

and the WriteRegistry function is
code:
function WriteRegistry(key, value){
Debug.Trace("WRITE REGISTRY - "+key + ": "+value);
return new ActiveXObject("WScript.Shell").RegWrite(MsgPlus.ScriptRegPath + Messenger.MyEmail + "\\" + key, value, "REG_SZ");
}


Any ideas why I'm getting the error? Am I missing something really stupid?

PS: This scripts used to work, so I don't know why it's gone funny :s

EDIT: Also, this only happens the first time the script is run once WLM opens... If you disbale it and then enable it again it works properly

This post was edited on 09-14-2006 at 04:29 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
09-14-2006 04:28 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
RegWrite Causing Errors? - by Spunky on 09-14-2006 at 04:28 PM
RE: RegWrite Causing Errors? - by Matti on 09-14-2006 at 04:39 PM
RE: RegWrite Causing Errors? - by R4000 on 09-14-2006 at 05:04 PM
RE: RegWrite Causing Errors? - by Spunky on 09-14-2006 at 05:12 PM
RE: RegWrite Causing Errors? - by phalanxii on 09-15-2006 at 12:02 AM
RE: RE: RegWrite Causing Errors? - by CookieRevised on 09-15-2006 at 10:16 AM
RE: RegWrite Causing Errors? - by phalanxii on 09-15-2006 at 01:14 PM
RE: RE: RegWrite Causing Errors? - by CookieRevised on 09-15-2006 at 10:03 PM
RE: RegWrite Causing Errors? - by Matti on 09-15-2006 at 01:17 PM
RE: RegWrite Causing Errors? - by Spunky on 09-15-2006 at 10:18 PM
RE: RegWrite Causing Errors? - by CookieRevised on 09-15-2006 at 10:20 PM
RE: RegWrite Causing Errors? - by Spunky on 09-15-2006 at 10:22 PM
RE: RE: RE: RegWrite Causing Errors? - by phalanxii on 09-15-2006 at 10:25 PM
RE: RE: RE: RE: RegWrite Causing Errors? - by CookieRevised on 09-15-2006 at 10:29 PM
RE: RegWrite Causing Errors? - by Spunky on 09-15-2006 at 10:28 PM
RE: RegWrite Causing Errors? - by phalanxii on 09-15-2006 at 10:33 PM
RE: RegWrite Causing Errors? - by Spunky on 09-15-2006 at 10:34 PM
RE: RegWrite Causing Errors? - by CookieRevised on 09-15-2006 at 10:37 PM
RE: RegWrite Causing Errors? - by Spunky on 09-15-2006 at 10:40 PM
RE: RegWrite Causing Errors? - by CookieRevised on 09-15-2006 at 10:43 PM
RE: RegWrite Causing Errors? - by Spunky on 09-15-2006 at 10:52 PM
RE: RegWrite Causing Errors? - by CookieRevised on 09-15-2006 at 10:57 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