Click here to Skip to main content
14,665,327 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi All,

I am using a existing XXXX.ocx file in C# which is working fine .net framework 4.5 and the same XXXX.ocx file I am using in .net framework 4.0 which is not working and I am getting the class not registered error

Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))


Please suggest how to use XXXX.ocx in .net framework 4.0


Regards,
Posted
Updated 27-Apr-14 2:16am
v3
Comments
[no name] 27-Apr-14 8:06am
   
It doesn't anything to do with the framework version. The OCX is not registered.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100