RE: Can't display form in design mode



Hi Jon,

Thank you for posting.

The IDE designer displays a form based on the code in the
InitializeComponent method in the form's code file. If there're errors in
the InitializeComponent method, the form will not be displayed normally.
Instead, a loading error message will appear on the designer, just as what
you have seen in your project.

Since you could compile your project successfully, it's sure that there's
no compilation errors in the code. But as you say, you couldn't open one
form in the designer. That's to say, the IDE designer considers there is at
least one error in the InitializeComponent method. The reason may be that
you have changed something in the form's code which is related to the UI
elements.

I recommend you to have a try opening the form after compiling the project.
If it still doesn't work, you may close the solution in VS2005 and reopen
it again.

Hope this helps.
If you have anything unclear, please don't hesitate to let me know.


Sincerely,
Linda Liu
Microsoft Online Community Support

====================================================
When responding to posts,please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
====================================================

.