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

Answer Posted / guest

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many objects resides in ADO ?

1513


What is meant by Establish Connection in RDO? 74.1s it possible to Access BackEnd procedures? Explain.

1092


What is the use of parameters collection?

1554


____ property is used to lock a textbox to enter a datas.

1175


Hi, I am USINg QTP tool for automation. Where VB Script have to use. I want to read a row from the table present in .Doc File and to paste in excel. Could you please assist me or give me the code to get it. I am new in this technology.

1869






what is the Difference between Linked Object and Embedded Object?

1783


What are the important components of OLEDB?

1883


How do I use GetPrivateProfileString to read from INI files?

1003


Explain the usage of Web Browser Control?

1494


What is form in visual basic?

533


What are the types of line styles available in Treeview Control?

1889


How do I do Peek and Poke and other low-level stuff?

975


In which areas the Error occurs?

1475


How to get Cursor position using API?

1684


Data Control missing from toolbox when I use VB under NT3.5. Why?

933