Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Making activeX object Safe

Posted on 2004-09-17
Medium Priority
Last Modified: 2012-06-22
Dear Experts

I am wrote a simple client side code that checks if a file exists in a folder if it does, do something if not do something else  (see code snippet below)

As you probably know, I need to have IE settings changed on the client browser to allow this..I have been asked to mark this as safe, I have no idea where to start..is this possibe, sample code please

objFSO = new ActiveXObject("Scripting.FileSystemObject");
                  if (objFSO.FileExists(strFileName))
                        do something
                        do something else
                  // Internet settings need to be adjusted to allow ActiveX to run.
                  alert("ERROR: " + e.description + " :Please check your Internet Explorer Security Active Controls Setting.");
Question by:bmukoro
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 36

Accepted Solution

Zyloch earned 2000 total points
ID: 12082569
Seems a bit outdated, but the general concept should be the same. Get it signed and certified, I guess...


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question