473,394 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

UserControls Vanished

I am sure that this has come up here before, but the
Search is not working for me for this newsgroup.

I am working on a Windows Forms project where I have
created a number of usercontrols that I am using on
multiple forms. After editing one of the controls, when I
rebuilt the project all of the usercontrols on every form
disappeared and I am suddenly getting errors because the
code still references all of them.

The error says:

Could not find type 'Namespace.TypeName'. Please make sure
that the assembly that contains this type is referenced.
If this type is a part of your development project, make
sure that the project has been successfully built.

It looks like the following support article deals with
this issue... but what do I need to do to get the hotfix?
Do I have to call and pay for it? Does someone know a way
around this?

http://support.microsoft.com/default.aspx?scid=kb;en-
us;842706
Nov 16 '05 #1
2 1145
-----Original Message-----
I am sure that this has come up here before, but the
Search is not working for me for this newsgroup.

I am working on a Windows Forms project where I have
created a number of usercontrols that I am using on
multiple forms. After editing one of the controls, when Irebuilt the project all of the usercontrols on every form
disappeared and I am suddenly getting errors because the
code still references all of them.

The error says:

Could not find type 'Namespace.TypeName'. Please make surethat the assembly that contains this type is referenced.
If this type is a part of your development project, make
sure that the project has been successfully built.

It looks like the following support article deals with
this issue... but what do I need to do to get the hotfix?Do I have to call and pay for it? Does someone know a wayaround this?

http://support.microsoft.com/default.aspx?scid=kb;en-
us;842706
.


well... I'll answer my own question.... kinda. I still
can't search the newsgroup, but I paged ahead many pages
and found a similar issue. Sounds like a lot of people
have seen this problem... that doesn't suprise me!

It looks like the best 'fix' is to close the designer
views of all these forms and recompile. Looks like that
puts everything back where it should be. Thank god... I
did not want to try to replace, rename, etc. all of these
controls! That would have been a nightmare!

-jputman
Nov 16 '05 #2
Are you using Visual Studio 2002? Because there was a known problem of
this happening. It has been fixed in 2003.

an*******@discussions.microsoft.com wrote:
-----Original Message-----
I am sure that this has come up here before, but the
Search is not working for me for this newsgroup.

I am working on a Windows Forms project where I have
created a number of usercontrols that I am using on
multiple forms. After editing one of the controls, when


I
rebuilt the project all of the usercontrols on every form
disappeared and I am suddenly getting errors because the
code still references all of them.

The error says:

Could not find type 'Namespace.TypeName'. Please make


sure
that the assembly that contains this type is referenced.
If this type is a part of your development project, make
sure that the project has been successfully built.

It looks like the following support article deals with
this issue... but what do I need to do to get the


hotfix?
Do I have to call and pay for it? Does someone know a


way
around this?

http://support.microsoft.com/default.aspx?scid=kb;en-
us;842706
.

well... I'll answer my own question.... kinda. I still
can't search the newsgroup, but I paged ahead many pages
and found a similar issue. Sounds like a lot of people
have seen this problem... that doesn't suprise me!

It looks like the best 'fix' is to close the designer
views of all these forms and recompile. Looks like that
puts everything back where it should be. Thank god... I
did not want to try to replace, rename, etc. all of these
controls! That would have been a nightmare!

-jputman

Nov 16 '05 #3

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

Similar topics

1
by: Kate | last post by:
Hi: I have a picturebox control, and at runtime various usercontrols are added to it to make a diagram. As dynamically added usercontrols, they are of type VBExtender. Is there a way to save...
2
by: Emma | last post by:
Hi, I'm developing a GUI with almost all Usercontrols. It's been working wonderfull up till a few weeks ago, and really crashed yesterday. Suddenly I can no longer add some of my usercontrols...
4
by: Anders K. Jacobsen [DK] | last post by:
Hi I have some common UserControls i want to share between to sites (on the same mashine but on diffrent virtual paths). right now i have on solution file with aprox 10 projects. 2 of these is...
2
by: N. Demos | last post by:
I have a user control with code behind of which two instances are created/declared in my aspx page. The aspx page has code behind also, as I need to access methods of the usercontrols on page...
3
by: YYZ | last post by:
I swear I've done my research, and now I was just hoping someone could explain this to me. I've got a base class (usercontrol) that I am using just as an interface. Meaning, I've defined...
3
by: b747_440 | last post by:
Dear Newsgroup, I'm an old VB6.0 developper who switched some time ago to VB.NET 2005. I really like that new Visual Studio. However, something is going wrong now and I can't figure out, what it...
0
by: seigo | last post by:
Hello, I faced with the following problem. I have a PlaceHolder on a page and a few UserControls which have custom events, for instance: public delegate void SelectHandler(object sender,...
4
by: Nathan Sokalski | last post by:
In several of my UserControls I add properties. If I access these properties in the CodeBehind of the pages that use the controls, I recieve an error when compiling. The reason for this is because...
7
by: Nathan Sokalski | last post by:
I have a page which I dynamically add several usercontrols (*.ascx files) to using the following code: Public Sub Refresh() For Each section As DataRow In Me.GetSections().Rows...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.