Parent SUB NEW has arguments, SUB NEW is required for: <class name>
You defined a derived class that has no Sub New. If the corresponding base class's Sub New requires arguments, the derived class must have a Sub New that provides those arguments. For example:
Class BaseClass
Sub New (X As Integer)
End Sub
End Class
Class DerivedClass As BaseClass
End Class
Dim ObjRefVar As New DerivedClass ' Illegal because BaseClass's
' Sub New needs to be passed an
' integer.
Define a Sub New for the derived class whose signature includes the arguments required by the base class's Sub New. For example:
Class BaseClass
Sub New (X As Integer)
End Sub
End Class
Class DerivedClass As BaseClass
Sub New (X As Integer)
End Sub
End Class
Dim ObjRefVar As New DerivedClass(5) ' Legal