ListView & CPU usage

stokeentertainm
09-16-2006, 05:15 AM
Hi,

I've got a strange problem which I hope someone can help me with.

I have quite a large VB.NET app. I used ListView controls throughout the app and they all have the same strange behaviour. More and more CPU power seems to get consumed when the lists get larger in size. For example, 20 items is about 2%, 100 items is about 8%, 250 items is about 17%. When I clear the list, the CPU goes back down to 0%.

I haven't implemented any code to process the list when there are items there so I can't understand why the processing power is needed.

Any ideas?

Thanks,

Matt.

shaul_ahuva
09-18-2006, 07:36 AM
After googling, it seems as though there is some weirdness on certain platforms. I'm not able to reproduce anything like this on XP SP2.; which o/s are you using?

If possible, could post a code sample of how you're using the listviews?

stokeentertainm
09-18-2006, 10:10 AM
Thanks for your response.

I am actually using the same stuff, XP with SP2, VB.NET 2005. I will try and get a simple code snippet which recreates the problem.

Matt.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum