This project is read-only.

Passing complex types to ActiveX

Topics: General
Oct 27, 2013 at 8:18 PM
is it possible to pass "structs" to ActiveX methods as params? i am new also in JS , so dont know if it is even possible
Oct 28, 2013 at 5:22 PM
@liraz_rom, You can create an object literal and pass it to your method:
   var excelApp = new ActiveXObject("Excel.Application");
  var params = { foo: "foo", bar: 10};
You will probably get better luck with JavaScript related questions on StackOverflow.