Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Is this possible? They were easy in VB6, but I am having trouble with VB.NET under VS2005. The examples below all fail after the "New" statement.
Private arrayInt As Integer()
Private arrayLong() As Long
Me.arrayInt = New Integer(32)
Me.arrayLong = New Long(64)
If I specify the array size in the declaration it works fine, but that is not acceptable since one instance may need two integers and another may need a thousand. Ideas or suggestions?
0 · ·