What is the difference between a property a method and an
event? Give an example of each.
Answer Posted / manish mehta
Object has three characteristics
and these are
1.Property
2.Method
3.Event
Property represents (data) characteristic of an object..
Method represents the behavior(action)performed by an object..
Event is msg sent by an object to signal an activity
Example:-
For a class Employee
FirstName,LastName,Salary <------ Properties
Hire,Promote <------ Methods
On hire, On promote <------ Events
| Is This Answer Correct ? | 24 Yes | 6 No |
Post New Answer View All Answers
Which type of object requires this object?
What is activex control in vb?
What do you know about user forms.
what are the Types of cursors in RDO?
Explain about creating VB applications in excel?
Explain the working with task in Gantt chart view.
What is OLEDB?
How many ways we can access file using VB?
How do I do drag & drop between applications?
What is database vb?
What are some methods you can use to send data from one VB executable to another one?
Types of LockEdits in DAO?
___,_____ and ____ container objects.
How do I remove/change the picture property of a control at design time?
by writing MACRO CODE,i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.