hi
i have this type of VB6 code in many many many instances
Public Array001(999) As String * 5
how can i translate it to VB2008?
thanks
Printable View
hi
i have this type of VB6 code in many many many instances
Public Array001(999) As String * 5
how can i translate it to VB2008?
thanks
remove the * 5 from the end...Otherwise it's good as is.
-tg
Moved To VB.NET
thanks
i got that already
my problem is that the code need that all tha arrays occurences have a lenght of 5 positions
how can i specify the length for that string?
Strictly speaking, you can't. .NET doesn't support it.
You CAN use the VB6 compatible interop to "make" it work: http://social.msdn.microsoft.com/For...-f7c6de89d7d7/
See also this thread: http://social.msdn.microsoft.com/for...7-4a14849fc3f3
-tg
thanks
this was totally helpful
thanks again