Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

populating a list box from an array

Status
Not open for further replies.

lilal111

Technical User
Sep 16, 2008
18
CA
I have a listbox(lstBox1) that I am clearing as part of a clear routine. Then I am trying to use the following array to populate the listbox again:

Dim strlstMajor() As String = {"Geography", "Math", "Chemistry", "Physics"}

Any help would be greatly appreciated!!

Thanks!!!!
 
What about this instead ?
strlstMajor = Array{"Geography", "Math", "Chemistry", "Physics"}

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 


Hi,

What application?

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top