What has replaced ---CopyArray--- function is Visual Basic Express Beta 2

Apparently, the new version of Visual Basic Express 2005 Beta 2 has removed the CopyArray Function---What has replaced CopyArray

Answer this question

What has replaced ---CopyArray--- function is Visual Basic Express Beta 2

  • Castor

    Tell us what did the CopyArray function did and we will try to find a replacement.

  • FinTin

    Dim Arr1 As String()

    Dim Arr2 As String()

    ReDim Arr1(1)

    Arr1(0) = "Hi"

    Arr1(1) = "There"

    Arr2 = Arr1.Clone

    MsgBox(Arr2(0) & " " & Arr2(1))



  • Mutola

    CopyArray transferred all the data from one array into another array. The arrays had to be similarly dimensioned and typed.

    Is there any way to download the OLD Visual Express 2005 Beta 2 from the October 2004 time frame I can't get the latest beta 2 to work properly and lots of code needs to be changed to migrate from OLD BETA 2 to current Beta 2.

  • Vinny from the blue

    Look at the Array.Copy and Array.CopyTo methods.

  • What has replaced ---CopyArray--- function is Visual Basic Express Beta 2