PropertyExists Routine Using TLBINF32.DLL
Version Compatibility: Visual Basic 6, Visual Basic 5
This routine allows you to determine if a property exists for an object; you can also modify it to check if a function or subroutine exists (see comments). A reference to TypeLib Information (tlbinf32.dll) is required.
Instructions: Copy the declarations and code below and paste directly into your VB project.