Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VB6 error "No creatable public component detected" after class removed

Tags:

class

vb6

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:

enter image description here

No creatable public component detected

I've checked the project's reference and components and I can't find anything to solve this issue.

Have anyone experience this before? Thanks!

like image 543
Ph0b0x Avatar asked Dec 09 '25 03:12

Ph0b0x


1 Answers

Your removed class was probably set as the startup object. in your project click on the menu Project | Project Name Properties and on the General tab choose a new startup object.

like image 135
jac Avatar answered Dec 14 '25 08:12

jac