Click to See Complete Forum and Search --> : Control Registration


April 23rd, 1999, 10:28 AM
I have a problem with the distribution of an activeX control. I wrote and tested a control using VB6. I can use the control in other VB6 standard.exe applications.

The problem is registering it with VC++. I copied the newly created com object to /winnt/system32 and used regsvr32. I get a message that the registration worked, but when I try to add the control into my VC++ toolbar I get the error "The ActiveX Control is not registered properly, or its type library version number is incorrect. Try registering the control by removing and importing it in Component Gallery."

I guess my questions are:
1)Is there more to registering a .ocx file than regsvr32?

2)How do I import a control to the gallery?