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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.