Solved

vb.net inheritance

Posted on 2013-12-20
1
262 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

706 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now