Opper-Hooftman

Opper-Hooftman

Joined Member # 3157226
1 Posts 4 Replies 105 Reputation

To all people intrested: I found the soultion myself, (thanks google [e digicons]:sun:[/e] ) [code="javascript"]xmlDoc=null; xmlDoc=new ActiveXObject("Microsoft.XMLHTTP"); xmlDOM=new ActiveXObject("Microsoft.XMLDOM"); if (xmlDoc!=null && xmlDOM!=null) { xmlDoc.onreadystatechange=onResponse; xmlDoc.open("GET",url,false); xmlDoc.send(null); } } function onResponse(){ if(xm

6 Replies 4,056 Views

I thought i got some more experience with xml... but my new code end with status =0 [code="javascript"] var WSH= new ActiveXObject("WScript.Shell"); var allusers= WSH.Environment("PROCESS")("ALLUSERSPROFILE"); allusers+=" \\XML "; var xmlDoc; //Called when the script is executed function Object_OnScriptEnter(){ screenreset(); Scan(); Object.Comments = folders.length; loadXMLDoc(alluse

6 Replies 4,056 Views

Somebdoy?? Anybody?? Even an example on how to get data from a local xml file in VBScript could help me out... This most be possible in desktopx... isn't it??

6 Replies 4,056 Views

my filepath did worked before (on other places of my desktop) single backslashes will be processed as : C:Documents and SettingsAdministratorMy DocumentsStijnfileloc.xml the alternatives are: with slashes (works in most cases!) C:/Documents and Settings/Administrator/My Documents/Stijn/fileloc.xml or double backslashes: C:\\Documents and Settings\\Administrator\\My Documents\\Stijn\\fileloc.xml (will be processed as : C:\Documents and Settings\Administr

6 Replies 4,056 Views

Hi, I want to call some data from a xml file... my script doesn't give me errors which is a good start but there is no data pulled out of my xml-file... //writing to the buttons on the welcome page var xmlDoc=null; xmlDoc= new ActiveXObject("Microsoft.XMLDOM"); if(xmlDoc!=null){ xmlDoc.async=false; xmlDoc.load("C:/Documents and Settings/Administrator/My Documents/Stijn/fileloc.xml"); file=xmlDo

6 Replies 4,056 Views