I have the following code:

Code:
        Dim mb() As String
        mb(0) = "xyz"
I get the syntax message "Variable 'mb' is used before it has been assigned a value" on the second line.

So I change it to

Code:
        Dim mb() As String = Nothing
        mb(0) = "xyz"
and the above message goes away but I get the run-time error "Object reference not set to an instance of an object".

What to do?