문제

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!

도움이 되었습니까?

해결책

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.

다른 팁

I had the same thing happen in VB5. I closed the dev system and then removed the .VBG file and restarted the .VBP file to force it to remake the .VBG file. This worked.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top