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();