Hello,
I am making an MCE 2005 plugin to display my home made video's (on DVD). I've put all my DVD's to disk. With the help of de SDK I now have a nice working application to search the DVD's and play them anywhere I want.
Now I want to test or a file (DVD-file) exist with some javascript code. The code is like this:
best = "Filename"
var fso = new ActiveXObject("Scripting.FileSystemObject")
fileBool = fso.FileExists(best);
if (fileBool==false) {alert("File: "+best+" does not exist!")}
This script works fine but i get always the next ActiveX mesage:
An Activex control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction?
Is there a way to suppress this message? I've tried all security sessings in Internet explorer but nothing seems to work.
Thanks in advance,
James.