This project is read-only.

COM activation

Jan 2, 2011 at 2:18 PM

Is there a way to use COM compatible objects? I tried the syntax 

var fso = new ActiveXObject('Scripting.FileSystemObject');

but that only gave a JavascriptException. Apparently ActiveXObject is an unknown type.  

Jan 5, 2011 at 7:01 PM

You may refer to a thread discussing a similar problem:

This thread explains how to create instances of any .NET class from Javascript code. You can easily improve this code to support COM objects by creating a SystemInvoker.CreateCOMObject( ) method, for example.


Jan 5, 2011 at 7:05 PM