
Iterating through properties of a VB com object at runtime
Hi,
In VB, add a reference to TypeLib Information. There're objects and methods
for enumerating properties.
--
HTH,
Alexander Shirshov, MCSD
Quote:
> Hi,
> Is it possible to iterate through and assign values to properties of a
> VB COM object at runtime from a VB or VBS client. E.g. :
> For Each property in myObject.Properties
> property.value = ...
> Next
> I know that this should be avaliable through the IUnknown interface,
> but how does it work?
> Thanks,
> Avner Silberman