Quote Originally Posted by formlesstree4 View Post
Really nice little insert here weirddemon; one good reason to be a programmer is exactly what you said: "decrease our dependence on 3rd party software"

EDIT: I haven't downloaded yet, but you hardcoded the ListView in...maybe you could make an option to pass a reference to a ListView and manipulate it that way? That way it's a really simple class that could take the ListView when initializing it:
Code:
Dim _x As New UniducksCleaner(ListView1)
Thanks, formlesstree4.

I suppose I could put the ListView in the constructor, like you're mentioning. But it still requires the user to pass a ListView to the class. At the moment, the ListView is passed to the .Start method of the UniducksClass. Like so:

VB.NET Code:
  1. Private clean As New UniducksCleaner
  2.  
  3. Dim fdi As New FileDirectoryInfo("dir", InternetExplorerCookies, "Internet Explorer - Cookies", 3, "*.*", True)
  4. clean.Add(fdi)
  5.  
  6. clean.Scan(lvwTemps)

I was thinking of just using a function and returning a List that could be manipulated. But that brings about it's own problems. Having the ListView in there makes everything much easier.