Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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...
 
Share this answer
 

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