Visual Basic Reference: Error Messages
'WithEvents' variables must have an 'As' clause
You did not supply an As clause with the keyword WithEvents. Declare the variable as the specific class that can raise the events.
Error ID: BC30412
To correct this error
See Also