Interfaces Inheriting from Interfaces
Hi
This, I hope, will be a simple answer. I am builing a not so simple component
and want to make sure that implementation is kept separated from the interfaces.
I forget which C++ programmer told me that that was the proper way of doing
things ... :-))
Anyway. I have two interfaces
Public Interface IDBOPerations; and,
Public Interface IPersonnel
The code in IPersonnel is below ... Now, when I try to have IPersonnel Implement
the IDBOperations interface, I get a compile error.
Can this be done? Can one interface implement (or even inherit from) another
interface?
Many Thanks,
larry
Re: Interfaces Inheriting from Interfaces
On 26 Jan 2003 20:16:45 -0800, Larry Hunter wrote:
> Hi
>
> This, I hope, will be a simple answer. I am builing a not so simple component
> and want to make sure that implementation is kept separated from the interfaces.
> I forget which C++ programmer told me that that was the proper way of doing
> things ... :-))
>
> Anyway. I have two interfaces
>
> Public Interface IDBOPerations; and,
> Public Interface IPersonnel
>
> The code in IPersonnel is below ... Now, when I try to have IPersonnel Implement
> the IDBOperations interface, I get a compile error.
>
> Can this be done? Can one interface implement (or even inherit from) another
> interface?
>
> Many Thanks,
>
> larry
Hmm... the first problem that springs to mind is that you are in the wrong
group (most people in here are to busy whinging about MS and .NET to answer
technical questions), and the second is that the "code below" is missing :)
Go to vb.dotnet.technical and post the question there along with your code.
Cheers,
Jason