Wednesday, March 17, 2021

No creatable public component detected

 


Error :  "No creatable public component detected"


When trying to recompile a ActiveX.dll in VB6, I get the Message "No Creatable Public Component Detected There was no error in code .

Solution:

In the ActiveX DLL projects you need to have at least 1 class module with
the Instancing property set to MultiUse or GlobalMultiuse. Open up each
class module in the IDE and check the properties window 

Just change the instancing to Multiuse or GlobalMultiuse:


No comments: