95 pts.
0
Q:
My ListView does not always show the image I have set.
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
End If

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.
ASKED: Jun 30 2009  1:06 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
95 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Last Answered: Jun 30 2009  1:06 PM GMT by LHrabar   95 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0