VB6 ImageList control 'Invalid File Reference' errors when loading
Posted on 2006-07-10
I have a VB6 form with an ImageList control, and am using Source Safe. When I open one of my forms it loads fine, except that in the ImageList control all images are black, which means all images on a toolbar are black.
Also, loading the form creates a log file that has multiple lines like....
Line 330: Property Picture in ListImage22 had an invalid file reference.
Line 334: Property Picture in ListImage23 had an invalid file reference.
Line 338: Property Picture in ListImage24 had an invalid file reference.
Line 342: Property Picture in ListImage25 had an invalid file reference.
Problem is, when I copy/paste the MyFormName.frm into MyFormName.txt and read the Line 330, Line 334's, etc. they have GUIDs instead of path/file's, and when I tried to scan a couple of the GUIDs it came up empty.
My frm file does have an frx file of the same name, which I've read stores all the graphics of an .frm file, but from what I can tell it is not reading them.
Has anyone had a situation like this, and succesfully restored images in an ImageList control?
Thanks in advance.