How would you declare and raise custom events in a class?



How would you declare and raise custom events in a class?..

Answer / guest

1) Public Event OnVarChange();
2) RaiseEvent OnVarChange[(arg1, arg2, ... , argn)]

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

what are the Types of LockEdits in RDO?

0 Answers  


What are the different cursor types that can we create using ADO Recordset? Difference between these cursor types?

2 Answers  


what component is used in vb to link to the database?

2 Answers   Satyam,


How would you attach an ActiveX control in Your Application?

1 Answers  


How to test the AX stat class?

0 Answers  






Is it possible to set a shortcut key for label? Explain ?

1 Answers  


What is the error message that you would get if you try to assign "Null" to an integer variable?

4 Answers   Symphony, Yahoo,


Through which protocol OLEDB components are interfaced?

0 Answers  


What are the types of validations available in Visual Basic?

2 Answers   Infosys, TCS,


How do you change the icon and otherwise manipulate the DOS box?

0 Answers  


OLE is used for _______

0 Answers  


What is Tabstrip control? What is the starting Index value? How to locate it?

1 Answers  


Categories