Re: UserControls Vanished

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Nick (nberardi_at_[nospam.)
Date: 06/29/04


Date: Tue, 29 Jun 2004 15:19:57 -0400

Are you using Visual Studio 2002? Because there was a known problem of
this happening. It has been fixed in 2003.

anonymous@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



Relevant Pages

  • UserControls Vanished
    ... Search is not working for me for this newsgroup. ... I am working on a Windows Forms project where I have ... rebuilt the project all of the usercontrols on every form ... code still references all of them. ...
    (microsoft.public.dotnet.languages.csharp)
  • UserControls Vanished
    ... >Search is not working for me for this newsgroup. ... After editing one of the controls, ... >rebuilt the project all of the usercontrols on every form ... >code still references all of them. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Interface question
    ... > I don't particularly like that sort of use for UserControls. ... > where you have a set of intrinsic controls ... > to raise events, thus, an indirect route) But since your form is pretty ...
    (microsoft.public.vb.general.discussion)
  • Re: VERITAS- Forum from April
    ... forum (actually a newsgroup on Usenet) works. ... References to Farmer and Fort ... access the messages here via a news server. ...
    (rec.arts.sf.written)
  • Re: One table or two?
    ... Many thanks for your suggestions and references: ... business through the newsgroup. ... calendar - like the calendar control? ... another Access MVP who also does not charge for helping. ...
    (microsoft.public.access.tablesdbdesign)