VS 2008
I have a windows form that was created in the normal way using the form
designer. I do not wish to use this form directly though, I want to use it
as a basis for some other forms. I have added a MustOverride Sub and have
added MustInherit to the class definition. I then created a second form,
this time by adding a class module, and specifying that it inherits from my
first form.
It all works fine, but when I double-click on the second form in Solution
Explorer it tries to open it using the Form designer which displays an error
message: "The designer must create an instance of type 'MyProject.Form1' but
it cannot because the type is declared as abstract.".
Is there any way to either fix this error, so that it displays correctly in
the designer, or to stop the IDE from trying to use the designer and take me
straight into the code view? The first form (the abstract one) displays in
the designer with no problems.
TIA
Phil.