Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import VB OCX component in VC++ project

Status
Not open for further replies.

kartoffel

Programmer
Jul 24, 2002
15
CA
Hi
I would like to know if it's possible to include an OCX component, coded in Visual Basic 6, into a VC++ project.

I tried using Project->AddToProject->Components...
and selected my OCX file. I get this message:

"The ActiveX control is not properly registered, or its type library version number is incorrect. Try registering the control by removing and importing it in the Component Gallery."

My OCX is registered so I'm pretty sure this isn't the problem.

What should I do?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top