views:

215

answers:

1

hello

again i have a little problem with the creation of a user control. though i have made a control i want to use in another control.

as soon as i want to add the reference (would like to use it as compiled OCX) in the Component's list, the message "Wechselseitiger Verweis zwischen Projekten nicht zulässig" which means something like "Circular referencing between projects is not allowed"

strange is that the control i want to use does not have any type of reference to the first project.

i've checked this using dependency walker which is shipped as a tool with Visual Studio, but it says as well that there's no reference to the other control. i've opened the project-files using a text-editor to check for referenced OCX, i didn't find any.

any ideas?

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

Comment: Why ever, adding the uncompiled .ctl-file seems to work. For now i can continue my work. But anyways I'm interested in a solution and the reason why it doesn't work with the current constellation.

VOTE FOR CLOSE: I've been looking at all the files, well and now I've just simply added all control-files to the project instead of creating OCX. I'll give it up. Thanks to all...

thanks in advance and best regards

atmocreations

A: 

It is possible for VB6 to get quite confused when you add references to OCX files. You should really be adding an OCX as a component instead of using Project References.

AnthonyWJones
well I right-click on the empty space on Toolbox and click Components. In this window, i add the OCX... sorry if my description is a bit confusing.
Atmocreations