Newbie Question

  • Thread starter Thread starter Ross
  • Start date Start date
R

Ross

Hi,

In my application (in VB.NET), I have made a winform, and
then I made another winform that inherits from the first
one.

However, when I am trying to look at the second one in
DESIGNER VIEW, it doesn't display. Instead I get the red
circle with an X in it, with the following error message:

"An exception occured while trying to create an instance
of MyFirstClass. The exception was "Constructor on type
MyFirstClass not found." "

There IS a constructor in MyFirstClass.
Any idea why I am getting that?

Thanks,

Ross
 
There IS a constructor in MyFirstClass.
Any idea why I am getting that?

Is it a default constructor (i.e. no parameters). You need one of those for the designer.
Ian Cooper
wwww.dnug.org.uk
 
I have a default constructor.
That's what I don't understand...
-----Original Message-----

Is it a default constructor (i.e. no parameters). You
need one of those for the designer.
 
Back
Top