Property Manager Page with Many Controls - Example Error?

This is an API example from the SW API Help

I am getting the following error.

I have the exposed type libraries for add-in selected (references)

Am I missing something? Please help.

Thanks

JOHN

SolidworksApi macros