> Sometimes when I open a solution/project some of the form icons show as a
> code only icon and I can not open the forms in design view. What causes this
> and how do I correct it?
It is a bug w/ the junky ide. It just happens, and you have to get used to it.
Open the file as code, change something, save, close the file, it should then
restore to the correct type.
(If that doesn't work: open the file as code, change what the class derives
from (doesn't have to be real, for example from Form to FormX), save, restore
derived name (back to Form), save, close file, should be restored).
David Coleman - 24 Jan 2005 23:34 GMT
I have exactly the same problem but with 600 forms in the project individual
correction is not possible.
My workaround is
Copy the project from it's root directory to a new root directory.
Backup and remove the old root directory and contents.
Open the project in its new root directory. All the forms should be restored
to forms type.
Rename the root directory to the correct root directory.
I know its a pain. I have to do this every week or so.
David.
>> Sometimes when I open a solution/project some of the form icons show as a
>> code only icon and I can not open the forms in design view. What causes
[quoted text clipped - 13 lines]
> restore
> derived name (back to Form), save, close file, should be restored).