473,840 Members | 1,594 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?

Daniel Wilson
Senior Software Solutions Developer
Embtrak Development Team
DVBrown Company

Nov 17 '05 #1
0 2076

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

Similar topics

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:
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;
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...
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...
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...
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:
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. ---------
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....
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
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...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
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,...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
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...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.