Click here to Skip to main content
14,210,091 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hello :)
Does anyone have any source code search engine files for keywords in the light of different code pages?
Posted
Comments
Sandeep Mewara 14-Jul-10 8:35am
   
Well, would be care to elaborate more! This doesn't sounds like a specific issue or a question. It's quite generic and lots of options can be there. Narrow down your query.
Abhinav S 14-Jul-10 12:18pm
   
Your question is not very clear.
Simon Dufour 14-Jul-10 13:04pm
   
I think he's searching for an algorithm that search for keywords in files. I might be wrong.
pavelnt 14-Jul-10 15:34pm
   
Simon Dufour you are right. A source programs search files for extensions (doc, jpeg). We need the source code of the program that would search files according to the present in them. Pointing out the keyword and it searches for files that contain this word in a text document doc, RTF, html, txt...
Sorry for my bad English.

1 solution

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

Solution 2

TRY
System.IO.Directory;

Get the list of all logical drive then, use getdirectories
and finally getfiles and extension property of Fileinfo.
For All these a Foreach loop is sufficient. Now on u can use regex to boost up search...
   

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



Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.190617.3 | Last Updated 14 Jul 2010
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

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