Hi.

I am unable to create file object from javascript in Vista platform.

ex. i am using this statement javascript

var oFso = new ActiveXObject("Scripting.FileSystemObject");

after executing this and make try catch block for this i am getting this error "Automation object can't create object".


I have enabled some options in tools-> internet options ->Security -> custom levels options.

same error i am able to solve on XP machine by above settings.

please suggest the solution for the above problem.

With regards,
Virendra

I am facing the same problem in Vista while using the ActiveXObject function.. Can you please help me

Regards
Satish

probably u need to put url into trusted sites

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.