Click to See Complete Forum and Search --> : Properties of an object


August 18th, 1999, 05:01 AM
Hi,

I have an object (it will be of varying types) and I would like to access its properties, without knowing what they are. e.g.

for each property in object
MyFunc(property.name, property.value)
next

Is this possible?

Thanks,

- Gavin
gavinh@tesl.com

Lothar Haensler
August 19th, 1999, 02:45 AM
MSDN article Q172988 describes how to programmatically retrieve all members of a DLL class using TLBinf32.DLL.
AFAIK this works only for COM objects, not for objects that your create in your program from Private Class modules.

Jan Businger
August 19th, 1999, 06:43 AM
Hi Gavin,

Is it possible for you to be somewhat more precise ?
It's hard to quess what you exactly want. What kind of project is it?

Jan