List1 holds names of cards.(Randomly Drawn) i.e. AceofHearts, 2ofHearts, 3ofHearts, 4ofHearts, 5ofHearts.(Like a poker Hand). The images of the cards are in .jpg format on the hardrive. To Load an image into an image control i use
Text1.Text = List1.List(List1.ListIndex
Image1.picture = LoadPicture(app.path & "\" & Text1 & ".jpg")
This works ok.
Now the Goal here is to graphically represent the contents of List1 by opening a form(Form2), Adding image controls, then loading the controls with images from List1.
IdleMind gave me a great code snippet refer to : http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20962264.html
it makes an array of image controls on the form. But i am having dificulty loading the images from a listbox.
now the question is: What would be the best way i can do this?