how to window search CSharp file word or phase??

  • Thread starter Thread starter larry
  • Start date Start date
L

larry

Hi,

I would like to use window search to search a word in C# CS file which
create by visual studio.
But I can never get that word in the cs file.

for example, I used a name space: "myTopNameSpace.NameSpaceOne"
window search window:
file name: *.*
A word: "myTopNameSpace"

I can never get the file which contains the namespace "myTopNameSpace"

I used windows XP.

please help,
larry
 
Hi,

IMO the search of Win XP is the worst ever, I have had the same problem lot
of times, I read somewhere that by default it only looks in registered
files, or something like that.
At the end what I did was install a version of grep :)
take a look at wingrep.com ( I believe ) or google "grep windows"

cheers,
 
Good day!
IMO the search of Win XP is the worst ever, I have had the same problem
lot of times, I read somewhere that by default it only looks in registered
files, or something like that.

True, this is the way it goes. In fact, enabling proper searching in Windows
XP is one of those things I do immediately once I have the system
(development) set up.

Here's how to solve the issue.

Using the "A word or phrase in the file" search criterion may not work:
http://support.microsoft.com/default.aspx?scid=kb;en-us;309173

And to make things simple, I just merge this .REG file into the Registry:

---------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex]
"FilterFilesWithUnknownExtensions"=dword:00000001
---------------------

Disclaimer: Edit the registry at your own risk.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
(e-mail address removed)
http://www.saunalahti.fi/janij/
 
Hi,

Do you know if that registry modification will make it search even inside
binary files ( .exe , .dbf , etc )?

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation



Jani Järvinen said:
Good day!
IMO the search of Win XP is the worst ever, I have had the same problem
lot of times, I read somewhere that by default it only looks in
registered files, or something like that.

True, this is the way it goes. In fact, enabling proper searching in
Windows XP is one of those things I do immediately once I have the system
(development) set up.

Here's how to solve the issue.

Using the "A word or phrase in the file" search criterion may not work:
http://support.microsoft.com/default.aspx?scid=kb;en-us;309173

And to make things simple, I just merge this .REG file into the Registry:

---------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex]
"FilterFilesWithUnknownExtensions"=dword:00000001
---------------------

Disclaimer: Edit the registry at your own risk.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
(e-mail address removed)
http://www.saunalahti.fi/janij/
 
Hi Ignacio!
Do you know if that registry modification will make it search even inside
binary files ( .exe , .dbf , etc )?

Hmm, I don't think even the aforementioned registry tinkering will help with
"known" binary files. At least DLL and EXE file searching isn't affected by
this registry change.

I guess you still need a "proper" searching tool to look at these files.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
(e-mail address removed)
http://www.saunalahti.fi/janij/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top