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 / Windows Forms / WinForm General / August 2004

Tip: Looking for answers? Try searching our database.

'System.Windows.Forms.Form' cannot be designed.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jon Prisbe - 26 Aug 2004 14:02 GMT
I have several C# applications that all of a sudden I get the following
error when trying to view the form in visual studio

The base class 'System.Windows.Forms.Form' cannot be designed.

I'm using VS.net 2002 on WinXP Professional.

Any suggestions?

Thanks,

Jon
Jerry Bujas - 26 Aug 2004 17:20 GMT
> I have several C# applications that all of a sudden I get the following
> error when trying to view the form in visual studio
[quoted text clipped - 8 lines]
>
> Jon

I am not sure whether we are talking the same thing here. I had a similar
problem in C++. If you receive this message when trying to open the design
mode of an "h" file, try to comment out  all the include statements or
definitions that may appear before the definition of your class, open the
design mode, and then restore the h file.

Jerry
Andy Becker - 27 Aug 2004 14:26 GMT
> I have several C# applications that all of a sudden I get the following
> error when trying to view the form in visual studio
>
> The base class 'System.Windows.Forms.Form' cannot be designed.

Do you have any form inheritance going on, or is this the "stock" stuff?

Best Regards,

Andy
Jon Prisbe - 30 Aug 2004 14:13 GMT
This is stock stuff.

> > I have several C# applications that all of a sudden I get the following
> > error when trying to view the form in visual studio
[quoted text clipped - 6 lines]
>
> Andy

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.