Dim a() as String ' Problem

PROKA

Junior Contributor
Joined
Sep 3, 2003
Messages
249
Location
Bucharest
well, I don't want to specify the UpBound ...

Code:
Dim a() as String
a(0) = "Extreme .NET Forums"


and I get this error :

"Object reference not set to an instance of an object."
 
Ok I found the answer by myself ... with the Redim thing ...

thought that vb.net does it by itself ... but nope :)
 
Back
Top