The Winforms ListView control has a great new feature in .NET 2.0 – virtual mode. Some time ago I wrote a text file viewer (for log files) using .NET 1.1, and I had to hack together my own virtual mode – it worked ok but had a lot of bugs that I never got around to fixing. So I was very happy to be able to ditch all that dodgy code by porting to .NET 2.0.
The only problem is that there are a few bugs. I’ve reported a particularly nasty one via the MS feedback center. If you’re using virtual mode and getting apparently random crashes, check that you haven’t got any list items containing exactly 260 characters.