Class '<classname>' cannot be indexed because it has no default property

You have failed to supply a default property for a class.

Error ID: BC30367

To correct this error

  • Specify a property as the default property by starting its declaration with the Default keyword.

See Also

Concepts

Default Property Changes for Visual Basic 6.0 Users

Reference

Default (Visual Basic)