Event handler argument count mismatch
The event you specified in an On Event statement requires a different number of parameters than are found in the specified event handler's signature. For example, assume that the Moved event defined for the product class Walden requires three parameters (an object reference and two integers):
Sub GoodSub(Source As Walden, X As Integer, Y As Integer)
'...
End Sub
Sub BadArgNum(Source As Walden, X As Integer)
'...
End Sub
Dim objRefVar As New Walden("ABC")
On Event Moved From objRefVar Call GoodSub ' Legal.
On Event Moved From objRefVar Call BadArgNum ' Illegal: BadArgNum
' has only 2 parameters,
' but Moved requires 3.
Change the event handler's signature to make it have the required number of parameters.