>Does anyone know how to get a list of all the properties and methods of an object at runtime? I need to display these in a listbox using VB or VFP.
>
>Thanks to anyone that can help,
>
>Dave Moret
Check out the West Wind Type Library Parser in the files section here. This works in VFP.
You can also use the type library tool that comes with Visual Studio (TLBINF32.DLL). This will work in VFP and VB.
oTypeinfo = createobject("tli.tliapplication")
oTypelib = oTypeinfo.TypeLibInfoFromFile("mycomserver.dll")
for each oInterface in oTypeLib.Interfaces
? oInterface.Name
for each oPEM in oInterface.Members
? oPEM.Name
endfor
endfor
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao