Moe DeShong
asked on
vb.net inheritance
I am trying to learn inheritance and am having problems right from the start. I created "frmBase" (the one I want to inherit) and frm2.
In frm2 I added:
Public Class Form2
Inherits testapp.frmBase
End Class
I also tried just "frmbase". I get this error "Base class 'frmBase' specified for class 'Form2' cannot be different from the base class 'System.windows.forms.form ' of one of its other partial types.
What's that mean and how do I properly inherit another form.
In frm2 I added:
Public Class Form2
Inherits testapp.frmBase
End Class
I also tried just "frmbase". I get this error "Base class 'frmBase' specified for class 'Form2' cannot be different from the base class 'System.windows.forms.form
What's that mean and how do I properly inherit another form.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.