vb.NET Designer won't show Form that worked yesterday

From: Jay (Jay_at_discussions.microsoft.com)
Date: 11/17/04


Date: Wed, 17 Nov 2004 11:13:02 -0800

I have a Form which Inherits from another Form of mine; yesterday I was able
to design and work with the new form, with no problem. When I reopened the
Solution today, the designer won't show the Form; it indicates an "Object
reference not set to an instance of an object" Exception, with no indication
of location in the Code except for the page that the Form's Class is on. I
made NO changes to the code supplied for the Designer (the App does build and
run, it's just the Designer that's not functioning). What's up?

-- 
Jay at UF


Relevant Pages

  • Re: Changing Collection Item Type
    ... the forms designer ... Inherits ColumnHeader ... ColumnHeader and you ARE giving it a column header. ... MyColumnHeader. ...
    (microsoft.public.dotnet.languages.vb)
  • RE: putting custom control on a form that inherits from my form class,
    ... > I created a base form class called MyBaseForm that inherits from Form. ... > MyBaseForm, and I get the designer, and all at first appears good. ... > when I try to site my custom control on ... > error message with other properties of type Control. ...
    (microsoft.public.dotnet.framework.compactframework)
  • RE: Inherited Form Designer gives Exception
    ... frmBase is a blank form. ... The exception message is "An exception occured while ... >> added an inherited formto the project which inherits from ... When I open the designer for frmChild the designer throws an ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Creating a User Control
    ... Designer placed it in there. ... inherits the Control class rather than the UserControl class. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Problems with inheritance in vb.net
    ... What I tend to do when I run into issues like this (which is as Herfried stated, you can not design a form that inherits from a MustInherit class,) is to do something like: ... Public Class fmsdvPrincipal ... >> Public Class frmsdvEtiquetas ... > windows forms designer because the designer must be able to instantiate ...
    (microsoft.public.dotnet.languages.vb)

Loading