C
COHENMARVIN
I put in the following code in my VB program:
Public Class ClassThree
Private _a As Integer
Public Sub New()
_a = 5
End Sub
Public Sub ClassThreeMethod()
MsgBox("ClassThreeMethod")
End Sub
End Class
Public Class ClassFour
Inherits ClassThree
mybase.ClassThreeMethod
End Class
But the line with 'mybase' is not accepted by the compiler. Neither
is "Mybase.new". What am I doing wrong?
Thanks,
Marvin
Public Class ClassThree
Private _a As Integer
Public Sub New()
_a = 5
End Sub
Public Sub ClassThreeMethod()
MsgBox("ClassThreeMethod")
End Sub
End Class
Public Class ClassFour
Inherits ClassThree
mybase.ClassThreeMethod
End Class
But the line with 'mybase' is not accepted by the compiler. Neither
is "Mybase.new". What am I doing wrong?
Thanks,
Marvin