Click here to Skip to main content
15,880,392 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
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!!

Thanks,

-Angel Mendez
Posted
Comments
Rajeev Jayaram 27-Jun-12 8:18am    
I suggest you to look into, http://en.wikipedia.org/wiki/Computer_virus
You don't seem to be having a good idea on what a Comupter Virus is.

1 solution

Hi,
Go through this article on Codeproject -
File Searcher in C#[^]
 
Share this answer
 
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900