471,887 Members | 794 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,887 software developers and data experts.

Error on creating ActiveXObject

In my hta application I have a javascript which creates a txt file , on 3 computers Ive checked it work fine , on 4th one it doesnt , i get an error on
var objFSO = new ActiveXObject("Scripting.FileSystemObject");

I tried to ude solutions found online like , setting security levels in browser (IE browser, what if my default browser is different? ) also looked if the computers got ScrObj.dll ... Ive been dealing with this error for days now and my project is coming to dead line.

Please help
Nov 17 '08 #1
1 1190
16,027 Expert Mod 8TB
When you tried changing the security levels, what steps did you take?

Have you added the site to your trusted sites?

Note that ActiveX for the most part only works in IE. If you want something a little safer, but less powerful, you could use execCommand as described here.
Nov 17 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

12 posts views Thread by steveH | last post: by
7 posts views Thread by Ike | last post: by
10 posts views Thread by seanism | last post: by
1 post views Thread by C.Joseph Drayton | last post: by
2 posts views Thread by ajayreddy2105 | last post: by
4 posts views Thread by ziycon | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.