Solved

vb.net inheritance

Posted on 2013-12-20
1
265 Views
Last Modified: 2013-12-20
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.
0
Comment
Question by:Moed
1 Comment
 
LVL 2

Accepted Solution

by:
Moed earned 0 total points
ID: 39733120
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
run a stored procedure from vb.net 1 27
Vb.net threads keep increasing 2 35
Easy filter aspnet 2 25
VB.net Adding a row to a DataGridView that has a checkbox column 5 22
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question