Adam,
The COM interface is defined at compile time. Any property added at runtime will not be visible to the client application.
>I have a dll which has a method to dynamically create properties.
>
>basically the user passes a name and value and I execute these statements..
>
>lParameter tcPropertyName,tcPropertyValue
>
>this.AddProperty(tcPropertyName)
>this.&tcPropertyName = tcPropertyValue
>
>It does work, the dll can read these properties, but if the user tries to see them.... ex: messagebox(object.property1) they cannot??
>
>Can someone explain why this is?
>
>
>Thanks
--sb--