Display array in list box
Hi all,
How do I display a whole array in one list box? (I want it to be displayed in the form load event... is that possible?)
For example I want to display these:
============================
mstrMonths(0) = "January"
mstrMonths(1) = "February"
mstrMonths(2) = "March"
mstrMonths(3) = "April"
============================
in a list box.
I tried doing this:
================================================== ======
lstMonths.Text = mstrMonths(0) & vbNewLine & mstrMonths(1) & vbNewLine & _
mstrMonths(2) vbNewLine & mstrMonths(3)
================================================== ======
and it didn't work.