PropertyExists Routine Using TLBINF32.DLL
Category:
MiscellaneousType:
SnippetsDifficulty:
IntermediateAuthor:
Tony StarkeyVersion Compatibility: Visual Basic 6, Visual Basic 5
More information:
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.
Declarations: