* "Bob" <an*******@discussions.microsoft.com> scripsit:
In VBA, I could fill a listbox with data from an array
like so:
Dim ListArray(?, ?)
... Fill ListArray ...
ListBox1.List = ListArray
How do I do this in VB .NET?
\\\
Dim astr() As String = {"Hello", "World", "Foo", "Bar"}
Me.ListBox1.Items.AddRange(astr)
///
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
<http://www.plig.net/nnq/nquote.html>