LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default .Net Excel Add-in missing Images in ListView

I created a .Net add-in for Microsoft Excel.When the application load, all
the images that will be used in the application will be loaded. I have a few
forms, and some of them contain ListView control. I used the LargeIcon view
with 72x40 pixel icons. The listview has about 20 items.

My problem is: Sometime the image is not displayed. The space for the image
is there, but the image is not displayed. The more interesting thing is:
this does not happen every time. It only happens about 50% of the time. I
walkthrough my code and there were nothing wrong. The images did loaded
properly, but some how not displayed.

I suspected the problem was originate from the GC. I tried to run a full GC
before the form that has ListView control in it but it doesn't help. Other
things like putting the images as BMP instead of inside the DLL also doesn't
work. Loading the images when the form loads also doesn't work.

Anybody has any idea?

Thank you.

James


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Width Property missing from Listview (mscomctl.dll) in VB6 Eric Hofer Excel Programming 2 June 30th 04 03:15 PM
Images cannot be assigned to Listview control kvenku[_15_] Excel Programming 0 June 9th 04 12:56 PM
Excel 2002: Need help with Listview BVHis[_10_] Excel Programming 0 May 26th 04 04:57 PM
ListView to Excel Code (but needs SPEED improvements) SVD Excel Programming 1 February 2nd 04 10:54 AM
Listview in Excel 97 vba. jaxrpc Excel Programming 3 January 1st 04 03:04 PM


All times are GMT +1. The time now is 02:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"