Hi!
I need help to make a search function to my program.
I want to search after Spyware (my program is an antispyware program) So then i need help with the search thing. I thought that maybe I must make a file or database with all the spyware names in. Then my program reads the names fro the file\database and search after it. Just think about a anti virus program that search after viruses. Could somebody help me with this

Search function
Joao Talles
For Each fileName As String In My.Computer.FileSystem.GetFiles("c:\", FileIO.SearchOption.SearchAllSubDirectories, "*.exe")
Dim file As IO.FileInfo = My.Computer.FileSystem.GetFileInfo(fileName)
Debug.WriteLine(file.CreationTime)
Debug.WriteLine(file.LastWriteTime)
Debug.WriteLine(file.Length)
Next
Manish Mishra
JamesCandy
http://samples.gotdotnet.com/quickstart/winforms/
Among others you will find how to access a database.
lenaserg
IraW
DVDMIAMI
Participant
Basically,
1>Load Database
2>Scan file, compare to database entries, mark file as bad if needed.
3>scan next file.
4>repeat
5>go back and clean 'bad files'
steps 2 and 3 are the real problem steps. This would not be a very easy 'newb' project :)
CaimbulLeFou
cis_student
My_name_is_Mr_Tibs
Thx for the help so far mates!
Look at this link to see the search code:
http://www.vb-helper.com/howto_total_file_sizes.html
Kiet A. Quach