Hi there.
I am trying to copy a value into a string array.
However, it is not liking it - throwing me an "object reference is null" exception...
now, the wierd thing is, almost the same line(s) of code work in another class in this project, but when i try to do it in a different class, this error occurs!
the source from where i am trying to copy the value from, does have something in it. this is what im doing:
?? whats the prob?Code:Dim theStringArray() as string for x = 0 to someOtherArrayList.count - 1 theStringArray(x) = someOtherArrayList(x).ToString() 'i have tried without the ToString() next




Reply With Quote