Share via


Cannot convert argument '<argumentname>' of type '<type1>' to type '<type2>'

A conversion operation attempts to convert an argument to an incompatible type.

To correct this error

  • Ensure that the type to which you are trying to convert the argument is valid.

See Also

Other Resources

Type Conversions in Visual Basic