Search code examples
c#windows-7internet-explorer-8activexcab

Windows 7: ActiveX component can not create object


I found this tutorial about Activex component but I am getting an error under Internet explorer 8 and Windows 7 pro: "An ActiveX component can not create object"

this tutorial is working fine under Windows 2008 Server R2.

thanks


Solution

  • Windows 2008 Server R2 is designed for 64 bit. My 1st bet is that you built a 64 bit ActiveX, and you are running IE (32) on Windows 7. Make sure that your project target is set for x86 and not AnyCPU or x64.