'=' expected (Declaration)

A Mid statement or a #Const compilation directive does not include an assignment of a value.

Error ID: BC30249

To correct this error

  • Add an equal sign (=) and a value to be assigned to the string or the compilation constant.

See Also

Concepts

Declaration Statements in Visual Basic

Assignment Statements

Reference

Mid Statement

#Const Directive