littlehogarth
asked on
Find whether a method exists for an object
I have an application that allows for vbscript and jscript macros. The application has new methods added in newer versions that give better functionality, but I want to maintain backward compatibility. Is there a way to check if an object has a specific property or method?
If I try and use a property that doesn't exist I get error:
"Object doesn't support this property or method: 'object.method'"
If I try and use a property that doesn't exist I get error:
"Object doesn't support this property or method: 'object.method'"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER