B
Bart
Hello,
infopath permission=DOMAIN
iam logged in as Administrator of the local machine.
in my sumbit method i created an Activex object
**********************************
var fso, f1;
fso = new ActiveXObject("Scripting.FileSystemObject");
f1 = fso.CreateTextFile("c:\\testfile.txt", true);
the file is being created in c:
***********************************
i change my code to the following and i get a permission denied error
*****************************************
var es = new ActiveXObject("Msxml2.DOMDocument.5.0");
es.load("c:\\Book1.xml");
es.save("c:\\book2.xml");
I get a permission denied error
*************************************
my question is both are Activex Objects why is infopath treating them in a
diffrent way, both are performing the write operation. Does each Active
objects have its own permissions????.
one intresting thing to note is that when using ActiveX for MSXML the window
"Do you want enable Activex Controls or someting cant remember" dosen't show
up in the infopath runtime.
Thanks In Advance
Bart
infopath permission=DOMAIN
iam logged in as Administrator of the local machine.
in my sumbit method i created an Activex object
**********************************
var fso, f1;
fso = new ActiveXObject("Scripting.FileSystemObject");
f1 = fso.CreateTextFile("c:\\testfile.txt", true);
the file is being created in c:
***********************************
i change my code to the following and i get a permission denied error
*****************************************
var es = new ActiveXObject("Msxml2.DOMDocument.5.0");
es.load("c:\\Book1.xml");
es.save("c:\\book2.xml");
I get a permission denied error
*************************************
my question is both are Activex Objects why is infopath treating them in a
diffrent way, both are performing the write operation. Does each Active
objects have its own permissions????.
one intresting thing to note is that when using ActiveX for MSXML the window
"Do you want enable Activex Controls or someting cant remember" dosen't show
up in the infopath runtime.
Thanks In Advance
Bart