VB.NET Simplifies Common Tasks, point 9 incorrect!
sorry about the empty message
In any case, the Join() function the author uses in VB.NET also works just
fine in vb6. Observe the following code, which works just fine.
Private Sub showStringArray(arr() As String)
MsgBox Join(arr, vbCrLf)
While the CREATION of the array using For Each...Next provides a somewhat
convenient pointer to the collection of selected items, it doesn't really
make the code any simpler. The author's VB classic code is poorlly written
and unneccesarily complex for this function as well.
The continual Redim Preserve using a counter in the loop is unecessary, for
instance, as VB's listbox provides a value for the number of selected items
So I would say that VB.NET does not simplify this task at all, really.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center