Click to See Complete Forum and Search --> : animation server can't create object


lucpustjens
01-12-2004, 03:31 AM
Hello,

I want to check with Javascript if a textfile exists on the harddrive. I need the ActiveXobject to do this(or are there other ways?). When I execute the code, I get this message:
"automation server can't create object". This error occurs in the line where I create the object.

<script language="Javascript">
function HaalGegevens() {
var objFso;

objFso = new ActiveXObject("scripting.FileSystemObject");

</script>

Who can help me?

Operating system: win '98 and win XP
Browser: Microsoft IExplorer 5.0 and higher

thanks for your reply