Delen via


Cast from type '<typename1>' to type '<typename2>' is not valid

An attempt to convert a variable from one type to another is not valid.

To correct this error

  • Check the types involved in the conversion and make sure you are attempting to convert to a meaningful type.

See Also

Other Resources

Type Conversions in Visual Basic