title: VB6 error "No creatable public component detected" after class removed
body: <p>I'm working on a VB6 project. This project has a class which I'm no longer using. When I removed the class from the object explorer and try to compile the project again I got  the error:</p>
  
  <p><a href="https://i.stack.imgur.com/VcDfn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VcDfn.png" alt="enter image description here"></a></p>
  
  <blockquote>
    <p>No creatable public component detected</p>
  </blockquote>
  
  <p>I've checked the project's reference and components and I can't find anything to solve this issue. </p>
  
  <p>Have anyone experience this before? Thanks!</p>