MCSD Visual Basic Desktop



 
   

A. This cannot be done with components with type libraries

B. Declare the variable in the Declarations section using the WithEvents keyword

C. Declare the variable in the procedure definition using the WithEvents keyword

D. Check the Raise Events checkbox in the References dialog box