It is an invisible control, in other words, you will not see it on the form during run time.Its sole purpose is to store a list of images, which can then be use with a List View or picturebox, to name a few.In this program you will make use of arrays to store each zodiac sign, and each starting date and ending date.
I also battled with the List View in the beginning of my programming career, so do not feel alone!
The optimal place to add elements to each of these three arrays would be the Form Load event.
Double click on the form - this will open up the code window with your cursor placed inside the Form_Load event.
Now that we have the arrays in our program, let us add the code to make the first List View work. Add(arr Zodiac(i)) 'Add Each Item Of Zodiac Array List View1. Image Index = i 'Align Image List Images With Array Items Next An easy one to start with. This variable will be used as a loop counter in our For Loop.
Add the next code behind the button labelled 'List View 1': 'Large Icons 'Declare A Variable To Loop Through Array Items Dim i As Integer 'Loop Through Zodiac Array For i = 0 To arr Zodiac. I start the For loop and indicate that the loop should start at 0 and end at the length of arr Zodiac. Right) 'Column 3 'Show Small Images Next To Zodiac Sign List View2. Add(arr To(j)) 'Connect List View Item With Its Associated Picture arr LVItem(j).