We recently moved our application from .Net 4.0 to .Net 4.5. After that, our few component which were based on ActiveX component stopped working IE.
After a lot research , we found a solution. As with launch of .Net, Hosting managed controls inside IE is no longer supported out of the box.
Further Details : http://msdn.microsoft.com/en-us/library/hh367887.aspx
Here is one way that you can use if you want to load ActiveX Control in IE 10.
There is registry key called as "EnableIEHosting". This key needs to be added at two location:
Please create key of type "dword" and set its value to 1 e.g.
Thats it! You ActiveX controls are all set to load in IE 10 on any Windows operating system with .NET 4.5
You can create these entries either using code or simple run a batch file.
Create Batch File :
; @ECHO OFF
; REGEDIT.EXE /S "%~f0"
Copy this content and save it in file ".bat" extension. No code needed :)
Hope it helps!