Click here to Skip to main content
14,692,401 members
Please Sign up or sign in to vote.
4.00/5 (1 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

Updated 27-Apr-14 3:16am
Wes Aday 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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900