Event handler argument type mismatch

The event you specified in an On Event statement requires that one or more of the event handler's parameters be different in data type from what appears in the 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 BadArgType(Source As Walden, X As Integer, Y As String)
'...
End Sub
Dim objRefVar As New Walden("ABC")
On Event Moved From objRefVar Call GoodSub        ' Legal.
On Event Moved From objRefVar Call BadArgType     ' Illegal: BadArgType's
                                                  ' third parameter should
                                                  ' be an Integer.

Change the event handler's signature so that its parameters are of the required data types.