Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / January 2005

Tip: Looking for answers? Try searching our database.

Sometimes can not open forms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob - 10 Dec 2004 11:35 GMT
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?
Bret Pehrson - 10 Dec 2004 16:45 GMT
> 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).

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.