473,474 Members | 1,857 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Circular reference in windows form

Hello all,

I recently bought and installed MS Visual C++.net and I have been working on
a project for the past several weeks. Today, I noticed that one of my
controls was misspelled, so I did a find and replace to rename it everywhere
it was used. Now, when I go into the forms desinger part of visual studio,
it gives me the following error:

A circular control reference has been made. A control cannot be owned or
parented to itself.

When I double click on the error, it message it points to the pragma
statement that is the very first line of my .h file. How can I find where
the problem is and how can I correct it. Any help would be greatly
appreciated.

Regards,

Richard
Nov 17 '05 #1
0 1509

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Leslie | last post by:
I have 2 dlls and they reference each other, thus causing the circular dependence error. I have read about other cases and people say use Interfaces to solve the problem with the shared methods. ...
2
by: Mike | last post by:
I ran into a problem with circular dependencies. My code looks somthing like: using B namespace A { class formA { void foo() {
4
by: pnp | last post by:
I'm developing an app (in C #) that uses 2 usercontrols that must be in different dll's. The problem is that each one needs to use the other, so as a result I get a circular reference error when I...
16
by: Dave S | last post by:
Anyone know how to get round the problem of circular references in VB.NET (sorry I'm a .NET newbie). I create one project which has 2 classes in it, MyHandler and MyObject. MyHandler just needs...
6
by: Stephen Robertson | last post by:
We are currently in a dead end with a circular reference issue using vb.net, and are hoping someone might help us resolve it. Idea... We have frmmain calling frmperson (dim f as new frmperson)...
3
by: Solution Seeker | last post by:
Hi All, I am here with a Query and need a Solution for it. The Query is as Follows, We have 3 Projects in a Solution - Say UI, CMN and PRD First One Deals with UI Forms Second One Deals...
2
by: Tom | last post by:
Let's assume I have the following libraries: MainLib (DLL) MyControl (.NET user control) Now MyControl needs to call MainLib, so I have a reference to MainLib in MyControl. Let's then assume...
0
by: guy | last post by:
I have a function below that works fine, however if i try and move it to a different solution and refernce it I have to change it to pass in the assembly , as otherwise it would look in the wrong...
10
by: Richard Lewis Haggard | last post by:
I've created in form that has tab controls that contain tab controls that host user controls on each tab page. It compiles and runs just fine but the designer view fails with a "A circular control...
8
by: nyhetsgrupper | last post by:
I have written a windows service and want to expose a web based user interface for this service. I then wrote a class library containing a ..net remoting server. The class library have a method...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.