D
Dominic Birrer
have tried several different approaches to try and get the
Visual Studio VB.NET to work with Inherited Forms. Every
approach I have tried results in the display of an error
message in the Designer View for the inherited form class.
The following error is displayed: "An error occurred while
loading the document. Fix the error, and then try loading
the document again. The error message follows: The
designer could not be shown for the file because none of
the classes within it can be designed. The designer
inspected the following classes in the file: MainForm ---
The base class 'myforms.formtest' could not be loaded.
Ensure the assembly has been referenced or built if it is
part of the project."
WHAT I'VE DONE:
I've created a new class library (myforms) with a base
form baseform (including some company typical stuff).
afterwards I've created a new additional form formtest
inheriting my baseform within the same project - and it
works fine. I'm able to add some additional stuff to the
formtest ....
Now I'm trying to inherit the formtest within an other new
project - no chance, always the error described....but the
funny point is: it's possible to run the new form !! but
I' can't modify it.....
PLEASE HELP ! I
Regards,
Dominic
Visual Studio VB.NET to work with Inherited Forms. Every
approach I have tried results in the display of an error
message in the Designer View for the inherited form class.
The following error is displayed: "An error occurred while
loading the document. Fix the error, and then try loading
the document again. The error message follows: The
designer could not be shown for the file because none of
the classes within it can be designed. The designer
inspected the following classes in the file: MainForm ---
The base class 'myforms.formtest' could not be loaded.
Ensure the assembly has been referenced or built if it is
part of the project."
WHAT I'VE DONE:
I've created a new class library (myforms) with a base
form baseform (including some company typical stuff).
afterwards I've created a new additional form formtest
inheriting my baseform within the same project - and it
works fine. I'm able to add some additional stuff to the
formtest ....
Now I'm trying to inherit the formtest within an other new
project - no chance, always the error described....but the
funny point is: it's possible to run the new form !! but
I' can't modify it.....
PLEASE HELP ! I
Regards,
Dominic