Variable '<variablename>' is used before it has been assigned a value (Visual Basic Error)
A variable is being used before it has been assigned a value, resulting in a NullReferenceException.
Error ID: BC42109
To correct this error
- Make sure the variable has been assigned a value.
See Also
Concepts
Variable Declaration in Visual Basic