Link to home
Start Free TrialLog in
Avatar of Moe DeShong
Moe DeShongFlag for United States of America

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.
ASKER CERTIFIED SOLUTION
Avatar of Moe DeShong
Moe DeShong
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial