R – ActiveX Control not running in IE6

activexinternet-explorer-6

I am trying to get some javascript to talk to an activex control. When this works and the JS can get the controls status I get a certain message. If not I get an error message.

In IE7/8 you are prompted to accept the activex control (via the warning bar thing), but in IE6 the js just cant get the controls status.

I have also tries creating the control using document.write from an external file so that it can run as soon as the page loads. The control is invisible so I can't tell just from looking at the page if it's being loaded at all.

I'd appreciate your help.

Best Answer

It is likely the ActiveX control activation mechanism that started in IE7, but I thought was supposed to be removed in a service pack later on. It is a major pain for control developers and web page authors.

This article gives some background and advice: http://msdn.microsoft.com/en-us/library/ms537508.aspx

There is also some useful information here: http://blogs.msdn.com/ie/archive/2007/11/08/ie-automatic-component-activation-changes-to-ie-activex-update.aspx

Related Topic