I am trying to call a COM method in Javascript
It works fine is IE6, but does not work in IE7 or Firefox..

Code is like this
In asp file, I loaded the ActiveX object

<OBJECT id="aActiveXCtl" height="0" width="0" classid="CLSID:xxxxxx"
<PARAM NAME="_Version" VALUE="65536">

In javascript, I tried to call the COM method using
document.myForm.aActiveXCtl.foo("xxx". "xxx", ....)

Got the error "document.myForm.aActiveXCtl.foo is not a function"..
Anybody can help me

Thanks a lot!!

Re: Internet Explorer Web Development An error when calling COM method in Javascript


Firefox does not support ActiveX controls.

What CLSID are you trying to use