473,806 Members | 2,277 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The designer could not be shown for this file because none of the classes within it can be designed.

I have a small Windows Form app in Visual C++ .NET 2003. I opened it up
today and got the following message on the [Design] tab for my form.

An error occured while loading the document. Fix the error, and then try
laoding the document again. The error message follos:
The designer could not be shown for this file because none of the classes
within it can be designed.

I don't have any custom code in InitializeCompo nent. I have commented out
the custom code I added to Form1(void). No good.

The thing compiles & runs, but I need to add another button ... and I can't!
I have rebooted, done a Build Clean, restarted VS.Net, deleted the temp,
debug, and release folders, restarted VS.Net again and again ... no good.

What do I need to do to get this thing to function?

thanks.
--
Daniel Wilson
Senior Software Solutions Developer
Embtrak Development Team
http://www.Embtrak.com
DVBrown Company

Nov 17 '05 #1
0 2073

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2671
by: thechaosengine | last post by:
Hi all, I wanted to put some common security functions into a class that inherits from the Page class and then use the new class as the basis for all my pages. Unfortunately, if I try and inherit from my new SecurePage class and not the old Page class, the designer breaks and will only allow me into html mode. Bugger. The error message given is:
0
1465
by: | last post by:
I added a reference to my web project but, when I try to view my page design, I get the error: "The file failed to load in the Web Form Designer". The designer could not be shown for this file because none of the classes within it can be designed". "WebForm1 --- The Base Class 'System.Web.Ui.Page' cannot be designed". This is everything I've included: using System;
0
1081
by: George Economos | last post by:
I apologize in advance for this post since I have seen it many times before, but never a adequate solution. Here is my situation: (1) Created an assembly that contains the following class: class MyUserControl : System.Web.UI.UserControl. (2) Created a web application that references the above assembly as a project and contains a class that inherits from MyUserControl. When I try to use the web forms designer I get the following...
0
1339
by: L Scott | last post by:
I've created a page ancestry (framework) for our application so that all pages in our app would have the same look and feel. To do this, I created several user controls (header, footer, menu, etc.) and then a C# class which inherits from System.Web.UI.Page. In the OnInit() method of this class, I dynamically load these user controls using the 'this.Controls.AddAt()' method (as well as call the base.OnInit() method to load the objects from...
2
4680
by: crusell | last post by:
I'm having some problem with my Visual Studio.NET 2003 (.NET 1.1 SP1) install. I am unable to use the web forms designer with any aspx file whose form class inherits from a base class. I'm implementing the page controller design pattern and everything has been working fine until now. My form inherits from a base class called CampusNET.CampusPage. The class exists, is included in the project and compiles just fine. If I replace the base...
4
1390
by: Slimeman | last post by:
When I create a BasePage class in either the same or separate assembly, create a Web Form that inherits from BasePage, and then attempt to view my Web Form in the visual designer, I get the following error: ---------- The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file:
0
2307
by: Jason Garland \(Secure Access Pty Ltd\) | last post by:
Any ideas on how to cure the following error ? The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: frmBrowser --- The designer for base class 'System.Windows.Forms.Form' is not installed. ---------
1
4687
by: dusanv | last post by:
Hi, I have a class (say O1) that overrides System::Windows::Forms::UserControl and then another one that overrides O1 (call it O2). O2 used to work with the Designer as it was inheriting directly from UserControl (and was created using the wizard) but since I inserted O1 into inheritance tree (without resx, straight override) I get the error pasted at the bottom when trying to open O2 in Designer. I deleted the NCB file to no avail....
3
3420
by: Carlo3030 | last post by:
Hi, My project's original code works as expected, the problem is after we had added our project to our sourcesafe, my teammate got the latest version and all the pages could not be viewed in the designer. I'm using vsual Studio 2003. below is the exact error: the file could not be loaded into the Web Forms designer. Please Correct the
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10618
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10366
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10371
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7649
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5678
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4329
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3850
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.