Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what is property set method in writing activex dll

Status
Not open for further replies.

loveyou

Programmer
Nov 8, 2000
2
IN
hi,
what is property set method in writing activex dll.
please post me good example.
 
Property set is used when you are passing an object to a property in an object.

lets say you have an object with two propeties, one is PropA which is an integer, the other is PropB which is an ADODB Connection.

What you would have is the following:

Code:
Public Property Let PropA(thevalue integer)
   intA = thevalue
End Property

Public Property Set PropB (theobject ADODB.Connection)
    set PropB = theobject
End Property

Hope this helps,

James :) James Culshaw
jculshaw@active-data-solutions.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top