An expression or an assignment statement takes a value of one data type and converts it to another type. Because no conversion keyword is used, the conversion is implicit.
By default, this message is a warning. For information on hiding warnings or treating warnings as errors, see Configuring Warnings in Visual Basic.
Error ID: BC42016
To correct this error
-
If possible, use values of the same data type, so Visual Basic does not need to do any conversion.
-
Use CType or one of the other conversion keywords so that the conversion is explicit.
See Also