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

XML Help...
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: XML Help...
You will need to post the entire XMLFile.js code. Use [code=js][/code] to wrap the code to make it easier to read. With just posting that we have no idea what line 24 is.

However I suspect it is because you are not specifying all of the parameters for OpenTextFile.

Javascript code:
function loadItems(PlusWnd) {
    var filename = (MsgPlus.ScriptFilesPath + '\\processes2.txt')
    var fso = new ActiveXObject("Scripting.FileSystemObject");
    var f = fso.OpenTextFile(filename, 0x1 /* ForReading */, false /* Do not create if it doesn't exist */);
    while (!f.AtEndOfStream) {
        var readFileLine = f.ReadLine();
        var PIDv = ReadIni(ConfigFile, 'Processes', readFileLine, 0)
        var MSNn = ReadIni(ConfigFile, 'Names', PIDv, 0)
        PlusWnd.LstBox_AddItem('ProcessLBox', readFileLine, pitems + 1);
        PlusWnd.LstBox_AddItem('FileNameLBox', PIDv, nitems + 1);
        PlusWnd.LstBox_AddItem('MSNNameLBox', MSNn, mitems + 1);
    }
    f.Close();
}

07-24-2009 12:57 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
XML Help... - by Haydn5149 on 07-24-2009 at 04:46 AM
RE: XML Help... - by ryxdp on 07-24-2009 at 06:36 AM
RE: XML Help... - by Haydn5149 on 07-24-2009 at 08:17 AM
RE: XML Help... - by matty on 07-24-2009 at 12:57 PM
RE: XML Help... - by Haydn5149 on 07-25-2009 at 05:39 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