This discussion is archived
1 Reply Latest reply: Jan 8, 2008 2:18 AM by 843804 RSS

ActiveXObject is not defined

843804 Newbie
Currently Being Moderated
i have written the following script coding

function get()
{

var myObject,f;
myObject = new ActiveXObject("Scripting.FileSystemObject");
f = myObject.GetFile("c:\\test.txt");
alert("The name of the file is: " + f.Name);
}
</script>

but i got one error like

ActiveXObject is not defined



So pls anyone help to me, hw can i avoid this error........

Advance Thanks

Viji