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

how to validate the pop up window Example :assume there is an webpage in that webpage we had a button to browser or file to upload . how to validate this button if we click on that botton window should appear else back to the page i need in VB Script Code since i am using QTP for testing

1 Answers   Sapient,


What is the Advantage of ActiveX Dll over Active Exe?

1 Answers  


How do I make my applications screen-resolution independent?

0 Answers  


what is the difference between name property and caption property in visual basic?

10 Answers   HCL,


What is OLE and DDE? Explain?

1 Answers  






Can We create CGI scripts in VB?

1 Answers  


What are constructors and destructors?

1 Answers  


what you know about databases?

2 Answers   Satyam,


what are Collections?

1 Answers  


how many no of controls in form?

1 Answers   Airex Logistics, Tata Logistics,


What do you mean by Databound Controls? Explain.

1 Answers  


Where will we give the option explicit keyword and for what?

1 Answers  


Categories