What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [wtf?!?] Existing file not found

[wtf?!?] Existing file not found
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. [wtf?!?] Existing file not found
Hi,

I have a problem with the XML DOM object:

code:
                    Print("  Retrieving windows from \"" + strXmlPath + "\"",PRIOR_SPACE);
                    var xml = new ActiveXObject("Microsoft.XMLDOM");
                    if(FileExists(strXmlPath)) {
                        if(xml.load(MsgPlus.ScriptFilesPath + "\\" + strXmlPath)) {
[some code]                        } else {
                            Print(xml.parseError.reason,PRIOR_ERROR);
                        }
                    } else {
                        Print("Could not find \"" + strXmlPath + "\"",PRIOR_IMPORTANT);
                    }
                    xml = null;
                    Print("  Retrieved windows",PRIOR_SPACE);
    },


parseError.reason says "The system cannot locate the resource specified.", yet FileExists() returns true..

Is there anyone who has (had) this problem too (or better yet: anyone who has the solution)?

EDIT::

Don't mention the Print() function, it's the same as Debug.Trace();

This post was edited on 08-24-2008 at 03:55 PM by SmokingCookie.
08-24-2008 03:53 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[wtf?!?] Existing file not found - by SmokingCookie on 08-24-2008 at 03:53 PM
RE: [wtf?!?] Existing file not found - by NiteMare on 08-24-2008 at 03:57 PM
RE: [wtf?!?] Existing file not found - by SmokingCookie on 08-24-2008 at 04:04 PM
RE: [wtf?!?] Existing file not found - by ShawnZ on 08-24-2008 at 07:12 PM
RE: [wtf?!?] Existing file not found - by SmokingCookie on 08-24-2008 at 07:26 PM
RE: [wtf?!?] Existing file not found - by tribbium on 08-25-2008 at 09:23 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