Message 1 of 11
problem with user defined control

Not applicable
05-23-2005
06:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Has anybody here ever created a user defined control and then used that
control on a form in the same project? Whenever I do this, for some reason
the form will not display in Design mode. I can view the code, and the
project runs successfully, but the Designer throws an exception and says
that there is a problem with the code (but doesn't say anything else about
the problem). If I build the project, start a NEW project and set a
reference to the first project, I can use the user defined control without
any problems. The error only happens if I try to use the control in the
same project where the control is defined.
Has anybody else seen this problem or know how to fix it? I am using VS.NET
7.0 (2002) without the service pack (for compatability reasons).
Jon
control on a form in the same project? Whenever I do this, for some reason
the form will not display in Design mode. I can view the code, and the
project runs successfully, but the Designer throws an exception and says
that there is a problem with the code (but doesn't say anything else about
the problem). If I build the project, start a NEW project and set a
reference to the first project, I can use the user defined control without
any problems. The error only happens if I try to use the control in the
same project where the control is defined.
Has anybody else seen this problem or know how to fix it? I am using VS.NET
7.0 (2002) without the service pack (for compatability reasons).
Jon