Thread: Using ListView
View Single Post
  #3 (permalink)  
Old 03-11-2008, 12:29 PM
burd27 burd27 is offline
Junior Member
 
Join Date: Dec 2007
Posts: 27
Default

Hi Filippo,

I've been playing around with the code just experimenting, so I don't have something containing a specific problem.

Simply, what I would like to know is if I create a ListView table on a non-main form and want to remove it from memory once I've finished with it (without closing the application), how should I do that so that If I want to create it again, that it still works.

At the moment, if I leave the table theer but just RemoveAllRows, when I go back to it later, it won't reload the CSV file. Also, if delete the table totally by using the Dispose method, when I go back to ceate the table I get an error telling me that there is no object.

Let me know if you still want a sample code. If so I write one detailing the problems.

Thank you
Burd
Reply With Quote