Re: Can't display form in design mode



"Linda Liu [MSFT]"
<snip>
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.

Thanks for your suggestion. I have already tried closing and reopening
VS2005, but the form still wouldn't open. I've also tried closing VS2005,
deleting the \bin and \obj directories in all the projects in my solution,
and then rebuilding (a suggestion I've seen elsewhere on the 'net), but that
didn't help either.

I've also tried commenting out the majority of the code in my form,
including the call to InitalizeComponent, leaving only empty event handlers
for events that were declared at design time. I still get the same symptom,
although intermittently, I also see a pop-up message box that says
"Exception of type 'System.ComponentModel.Design.ExceptionCollection" before
(or sometimes, instead of) VS2005 displays the error I posted previously.

How can I find out what the error is that is preventing VS2005 from
displaying my form, or how can I modify my form so that I can continue to
work with it?

I have not yet manually modified any of the code in the form's .Designer.cs
file. Is there something in that file that I should attempt to modify in
order to restore my form to a working condition? If so, what should I do?

Please help. I don't really understand how it is that my code can be
error-free, yet the IDE Designer can still consider that it contains errors.
How can I reconcile this discrepancy?


.



Relevant Pages

  • Re: squashed columns
    ... xl97 won't keep the columnwidths between closing and reopening. ... One suggestion is to make sure that you're running xl97SR2. ...
    (microsoft.public.excel.misc)
  • Re: squashed columns
    ... xl97 won't keep the columnwidths between closing and reopening. ... One suggestion is to make sure that you're running xl97SR2. ...
    (microsoft.public.excel)
  • Re: VBA project duplicated in Project Explorer
    ... Closing and opening the file is what causes the problem as I understand it. ... "teabag" wrote: ... time you want to try out a bit of code in Open or Close Workbook! ... Sometimes it goes back to one version on reopening the workbook; ...
    (microsoft.public.excel.programming)
  • Re: Improve consistency in how Excel and Word 2003 close.
    ... Then excel will behave like xl97 did/does. ... It may be enough to remind you that closing the application means closing the ... > This post is a suggestion for Microsoft, ... To vote for this suggestion, ...
    (microsoft.public.excel.misc)
  • Prompt to save work isnt enough sometimes
    ... User is hurried and busy, often closes entire EXCEL application, closing ... *all* workbooks unintentially losing work in workbooks he didn't want to ... My suggestion to him was that we could create a wave file in his own voice ...
    (microsoft.public.excel.misc)