Click here to Skip to main content
13,045,001 members (44,242 online)
Rate this:
Please Sign up or sign in to vote.
Hi I have a file program that will search for all files in the location you type and displays it on a listview. I placed a datetimepicker in my program and I want to be able to filter the search results based on the date you choose from the calender.

Note: I want to add this feature to my app to see if I can find any viruses. I know it is possible to delete some viruses from the command prompt but the problem is finding it. My hopes is that you can try to filter most files out based on the date files are created. It is not the best method and I know it is better to get an anti virus, you can say this is an experiment... I recently had a virus but I knew right away that I had it because I was downloading on the internet and I had my CPU gadget on and it was going crazy without running anything :). So my theory is, if you know you have a virus by the way I found out then maybe you can find the virus by filtering out all files based on the day it was caught. Is this possible or do viruses have the ability to change the date it was created?

HappyEnding: well for the virus, I immediately installed AVG and now my computer is virus free!!


-Angel Mendez
Posted 27-Jun-12 1:59am
Rajeev Jayaram 27-Jun-12 8:18am
I suggest you to look into,
You don't seem to be having a good idea on what a Comupter Virus is.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Go through this article on Codeproject -
File Searcher in C#[^]
MR. AngelMendez 27-Jun-12 21:47pm
thanks this is exactly what i need
Jαved 28-Jun-12 2:10am
You are Welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 27 Jun 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100