|
-
Jan 12th, 2011, 11:51 AM
#1
Thread Starter
New Member
translate vb6 code to vb2008 question
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
-
Jan 12th, 2011, 11:55 AM
#2
Re: translate vb6 code to vb2008 question
remove the * 5 from the end...Otherwise it's good as is.
-tg
-
Jan 12th, 2011, 11:58 AM
#3
Re: translate vb6 code to vb2008 question
-
Jan 12th, 2011, 12:01 PM
#4
Thread Starter
New Member
Re: translate vb6 code to vb2008 question
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?
-
Jan 12th, 2011, 12:13 PM
#5
Re: translate vb6 code to vb2008 question
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
-
Jan 12th, 2011, 01:41 PM
#6
Thread Starter
New Member
Re: translate vb6 code to vb2008 question
thanks
this was totally helpful
thanks again
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|