'<typename1>' cannot be converted to '<typename2>'

A type conversion was attempted between two incompatible types.

Error ID: BC30741

To correct this error

  • Verify the types that are being cast.

See Also

Reference

CType Function