ActiveXObject

O

Oren

hi all,

i'm tring to get a file size by writing:
var fso = new ActiveXObject("Scripting.FileSystemObject");

and i get the error:
Microsoft JScript runtime error: Automation server can't
create object

any ideas ?

Oren
 
C

Chris Jackson

If you are doing this in JavaScript on a web page, you can't access the
user's file system, which is why that is failing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top