ListView.Items.Clear() Throws Exception

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

For some strange reason my WinForms app occasionally
throws a System.NullReferenceException upon invoking the
Clear() method. The app will work fine for a long period
of time and then all of a sudden this exeption is thrown
and after that you just cant ever clear the ListView
control again - even though messages still go into it and
are displayed correctly.

Anybody have any idea what could be causing this?

Thanks,
 
Hi Tom

With this information certainly nowbody can see it,

Send some code Tom or better place it with some code in the newsgroup
news://msnews.microsoft.com/microsoft.public.dotnet.languages.vb

or

news://msnews.microsoft.com/microsoft.public.dotnet.languages.CSharp


I think than you have a better change to get an anser.

Cor
 
Back
Top