I have been scratching my head for a couple days over this problem.
Environment: 32 bit Windows 7; VS 2010
Target: to build a WinForm application with an OCX control
.NET Framework: 3.5
I could add the OCX control to my Toolbox to the left. As soon as I drag and drop it to the Windows form designer, VS2010 prompted me an error message "Failed to import the ActiveX control. Please ensure it is properly registered.". The OCX was registered correctly. I could see some of the dependency files were added to the project References from the OCX.
Is there any pointer to fix it...??
Thanks in advance.
Environment: 32 bit Windows 7; VS 2010
Target: to build a WinForm application with an OCX control
.NET Framework: 3.5
I could add the OCX control to my Toolbox to the left. As soon as I drag and drop it to the Windows form designer, VS2010 prompted me an error message "Failed to import the ActiveX control. Please ensure it is properly registered.". The OCX was registered correctly. I could see some of the dependency files were added to the project References from the OCX.
Is there any pointer to fix it...??
Thanks in advance.