'AddHandler' or 'RemoveHandler' statement event operand must be a dot-qualified expression or a simple name

The item specified for the event argument to AddHandler or RemoveHandler is not recognized as an event.

Error ID: BC30677

To correct this error

  • Specify the name of the object that raises the event followed by a dot (.) and the event name as in the following example.

    ' Assume that the class Wobject has an event named ThisEvent. 
    Dim wObj As New Wobject
    ' Assume that this class has as method named ThisEventHandler. 
    AddHandler wObj.ThisEvent, AddressOf Me.ThisEventHandler
    

See Also

Concepts

AddHandler and RemoveHandler

Reference

AddHandler Statement

RemoveHandler Statement

Other Resources

Events in Visual Basic