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 / August 2006

Tip: Looking for answers? Try searching our database.

VS 2005 Closes when opening an inherited form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
EricB - 08 Aug 2006 15:24 GMT
I have a solution with ~30 projects that was originally developed in VS .NET
2003.  Most of the forms in the project are inherited from a base form.  I
ran the VS 2005 conversion utility and converted the solution to VS 2005
without any errors and only a few warnings related to deprecated .NET
procedures.  These were fixed, and the application builds and runs without
any problem.  
However, when I try to open a form that inherits from the base form in
"design view", VS 2005 shuts down without any error message.  I can open the
form in "code view" without any problems.

Anyone one have any clues on why this is happening, and how to go about
fixing it?

Thanks,

Eric
Paul Cheetham - 08 Aug 2006 16:53 GMT
Eric,

Contact Microsoft Technical support, and request Hotfix KB912019

This is a fix for a problem where an inherited form cannot be edited in
design view. Sounds like your problem could be related.

The fix is only available on request.

Paul

> I have a solution with ~30 projects that was originally developed in VS .NET
> 2003.  Most of the forms in the project are inherited from a base form.  I
[quoted text clipped - 12 lines]
>
> Eric
EricB - 08 Aug 2006 17:00 GMT
Paul,
   Thanks.  I'll give support a call.

Eric

> Eric,
>
[quoted text clipped - 23 lines]
> >
> > Eric
EricB - 08 Aug 2006 20:35 GMT
Paul,
   Unfortunately this did not resolve the problem.  Any other ideas?

Thanks,

Eric

> Eric,
>
[quoted text clipped - 23 lines]
> >
> > Eric
Paul Cheetham - 09 Aug 2006 11:46 GMT
Eric,

Have you tried creating a new form inherited from your base within
VS2005 and seeing if that works?

Or how about creating a new base class form, and then creating a form
that inherits from it?

I can only suggest trying these things and seeing if you can narrow down
the problem, and if you still can't fix it perhaps try contacting
Microsoft again - after searching the knowledgebase articles.

Paul

> Paul,
>     Unfortunately this did not resolve the problem.  Any other ideas?
[quoted text clipped - 30 lines]
>>>
>>> Eric

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.