B
BenLeino
Hi there,
I have a custom interface with event declarations in it.
One of my classes implements this interace and also its
events.
When i make a new instance from outside the class
(with "new"), i always get the
System.MethodAccessException Error.
When I declare the events WITHOUT interface
implementation, it works fine.
Ist this a knwon Bug of VB.NET, or what am i doing wrong?
Interface looks like this:
Event EvStatus(ByVal intStatusCode As Integer)
Class like this:
Public Event EvStatus(ByVal intStatusCode As Integer)
Implements infPPTDataCollect.EvStatus
Thx for your time
BenLeino
I have a custom interface with event declarations in it.
One of my classes implements this interace and also its
events.
When i make a new instance from outside the class
(with "new"), i always get the
System.MethodAccessException Error.
When I declare the events WITHOUT interface
implementation, it works fine.
Ist this a knwon Bug of VB.NET, or what am i doing wrong?
Interface looks like this:
Event EvStatus(ByVal intStatusCode As Integer)
Class like this:
Public Event EvStatus(ByVal intStatusCode As Integer)
Implements infPPTDataCollect.EvStatus
Thx for your time
BenLeino