I am trying to migrate a source code from BASIC to VB.NET 2010
Dim obj(4096)
Dim strng As String
obj$ = string$ + ".obj" -> Error: Value of type 'String' cannot be converted to '1-dimensional array of Object'
I can get away with this in VB6 but i can't in VB.NET.
I can't convert obj using CStr either. ToString won't work because it work on the left side of an assignment.
Any suggestions how to typecast obj to string or convert obj to string.
Dim obj(4096)
Dim strng As String
obj$ = string$ + ".obj" -> Error: Value of type 'String' cannot be converted to '1-dimensional array of Object'
I can get away with this in VB6 but i can't in VB.NET.
I can't convert obj using CStr either. ToString won't work because it work on the left side of an assignment.
Any suggestions how to typecast obj to string or convert obj to string.