Search code examples
javascriptwindows-7internet-explorer-9activexwindows-update

ActiveX ListControl events no longer work after windows update


I have an ActiveX ListControl on my web page whose double-click event no longer works after a recent windows update. The update only affects Internet Explorer on Windows 7 (another user with Vista is fine, everyone else with 7 sees the same behavior). I had a double-click event wired up to my control like so:

<script for="ListControl" event="DblClick" language="JavaScript">
    // interpret double-clicks as an "edit" request:
    Edit();
</script>

I've also tried this to no avail:

function ListControl::DblClick()
{
    Edit();
}

The site is not being blocked by the pop-up blocker and I've added it to my list of trusted sites.

I suspect that one of the recent security updates is to blame. Has anyone else experienced this or found a workaround?


Solution

  • Thanks to the link offered by user1601402, I found that this command resolves the issue:

    regsvr32 c:\windows\syswow64\mscomctl.ocx
    

    This is a temporary workaround in my opinion. If a better solution comes along I will mark it as accepted.