That's not an error message, it's a warning message, which is why the underline is green instead of blue and the icon in the Errors window is yellow instead of red. It means that you've declared a variable and then used it before it can be guaranteed to have been assigned a value, e.g.
VB Code:
Dim str As String
MessageBox.Show(str)
In many cases this won't matter and the above is one of them. That's why it's a warning and not an error. The reason you are being warned is that it could result in a NullReferenceException in some circumstances, e.g.
VB Code:
Dim con As OleDb.OleDbConnection
con.Open()
You should evaluate the possibilities and if a NullReferenceException could be thrown then thank the IDE for warning you and fix your code. If you know for sure that there will be no issue then to clear the warning message you simply initialise the variable, e.g.
VB Code:
Dim str As String = Nothing
MessageBox.Show(str)
The variable would have been Nothing anyway but by explicitly setting it to Nothing you are telling the IDE that you want it to be so and you will take responsibility for ensuring that no NullReferenceExceptions result.