I have a listView control, and an ImageList on my form. I have the ImageList set as the SmallImageList for my ListView. When I load the data into my ListView, I check one field to see if a flag is set to "Y". If it is, I execute the following lines to display my image in the ListView.:
If sHasFlag = "Y" Then
itemX.ImageIndex = 0
When I run this on my development PC, the image always shows. When I install my application a user PC, the image does not always show. It about 50/50 if the image will show or not. I run the same data through the application, so I know that the flag is set to "Y". I have added a button to my form that when clicked will display a message box showing the value in the flag. It is set to a "Y". What would cause the image to not show? Thanks in advance for any answers.
June 30, 2009 1:06 PM
June 30, 2009 1:26 PM