VB6, ActiveX: Cannot create link to OCX

again i have a little problem creating a custom control. although I made a control that I want to use in another control.

as soon as I want to add a link (would like to use it as a compiled OCX) in the component list, the message "Wechselseitiger Verweis zwischen Projekten nicht zulässig" means something like "Circular link between projects is not allowed"

the weird thing is that the control I want to use doesn't have any type of reference to the first project.

I tested this with a walking dependency that comes as a tool with Visual Studio, but it also says there is no reference to another control. I opened the project files with a text editor to check the OCX links, I couldn't find them.

any ideas?

to avoid comments: changing to .NET or any other language is not an option.

Commentary: Why has an uncompiled .ctl file ever been added seems to work. At the moment I can continue my work. But in any case I am interested in the solution and the reason why it does not work with the current constellation.

VOTE CLOSE: I have looked through all the files, but now I just added all the control files to the project instead of creating the OCX. I give up. Thanks everyone ...

thanks in advance and best wishes

atmocreations

+2


source to share


1 answer


Maybe VB6 gets confused when adding links to OCX files. You should really add OCX as a component instead of using project references.



+1


source







All Articles