I have a program which shows the results with the pictures. To do this I have used listboc control and a third party control from Neo components Scroller II Library, ScrollerII.ocx
I get the results, say, 5 records. But when I do a new search, the previous list is still there and new records get appended to the list. It should remove the old list and show the new list. But this doesn not happen.
Private Sub Command3_Click()
Ctl_VGList.ImageList = Nothing
' '----Remove All previous values from Image List
' For i = ImageList1.ListImages.Count - 1 To 1 Step -1
' ImageList1.ListImages.Remove i
Runtime error 450
Wrong number of arguments or Invalid property assignment
at this line Ctl_VGList.ImageList = Nothing.
Any ideas ?
If required I will post the full code here...