473,695 Members | 2,389 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to window search CSharp file word or phase??

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
Nov 17 '05 #1
4 4027
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,

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

"larry" <la***@abc.co m> wrote in message
news:uQ******** ******@tk2msftn gp13.phx.gbl...
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

Nov 17 '05 #2
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...b;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_MACH INE\SYSTEM\Curr entControlSet\C ontrol\ContentI ndex]
"FilterFilesWit hUnknownExtensi ons"=dword:0000 0001
---------------------

Disclaimer: Edit the registry at your own risk.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethi s.dystopia.fi
http://www.saunalahti.fi/janij/
Nov 17 '05 #3
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 [MVP]" <ja***@removeth is.dystopia.fi> wrote in message
news:ut******** ******@TK2MSFTN GP15.phx.gbl...
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...b;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_MACH INE\SYSTEM\Curr entControlSet\C ontrol\ContentI ndex]
"FilterFilesWit hUnknownExtensi ons"=dword:0000 0001
---------------------

Disclaimer: Edit the registry at your own risk.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethi s.dystopia.fi
http://www.saunalahti.fi/janij/

Nov 17 '05 #4
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
ja***@removethi s.dystopia.fi
http://www.saunalahti.fi/janij/
Nov 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2133
by: Jonathan Grobe | last post by:
From: Nigel Perry <nigel@cosc.canterbury.ac.nz> Newsgroups: news.announce.newgroups,news.groups Subject: RFD: comp.std.csharp Date: Tue, 08 Jul 2003 00:26:01 +0000 REQUEST FOR DISCUSSION (RFD) unmoderated group comp.std.csharp This is a formal Request For Discussion (RFD) for the creation of the worldwide unmoderated newsgroup comp.std.csharp. This is not
0
1269
by: Mel_la_Bel | last post by:
Hi All, I'd like to get the content of windows(?), maybe they are MsgBoxes, that pop up in MS Word, like the ReadabilityStatistics after the Grammar check. Can I get control to the window that has the results of the grammar check? So far I am activating it: --- Private Sub TestMSWordFunc(ByVal file As String)
7
2261
by: Eric Gunnerson | last post by:
If you would like to see this group created, please reply to this post, making sure you leave news.groups on the newsgroups line. "Nigel Perry" <nigel@cosc.canterbury.ac.nz> wrote in message news:1057623961.29376@isc.org... > REQUEST FOR DISCUSSION (RFD) > unmoderated group comp.std.csharp > > This is a formal Request For Discussion (RFD) for the creation of > the worldwide unmoderated newsgroup...
4
9016
by: Tarique Jawed | last post by:
Alright I needed some help regarding a removal of a binary search tree. Yes its for a class, and yes I have tried working on it on my own, so no patronizing please. I have most of the code working, even the removal, I just don't know how to keep track of the parent, so that I can set its child to the child of the node to be removed. IE - if I had C / \ B D
11
5077
by: objectref | last post by:
Hi to all, is there a way to get the window handle of the main window of an application or process ? For example, if someone opens Microsoft Word, he gets a window so he/she can write text. Spy++ gives that this window is called _Wwg. How we can get a handle to this window assuming that we do not know beforehand the name of the process,
6
3329
by: DC | last post by:
Hi, I am programming a search catalogue with 200000 items (and growing). I am currently using the SQL Server 2000 fulltext engine for this task but it does not fit the requirements anymore. The products typically do have a verbose name, "canadian superapples: red tasty juicy macintosh apple from toronto" and the like. If a customer is looking for "canadian apple" this product needs to match, but also if he is looking for "juicy mac".
4
8159
by: jwlum | last post by:
I have the following problem under Internet Explorer only: 1. User fills out form data (myform.php) and clicks a button that fires myFunction() 2. myFunction() spawns a "hello, world" popup page via window.open 3. myFunction() submits the main page's form via document.form.submit() 5. User closes popup window and clicks browser's Back button to return to form entry page 6. All the form data that the user had filled out is now blank...
3
9550
by: Chung Leong | last post by:
Here's the rest of the tutorial I started earlier: Aside from text within a document, Indexing Service let you search on meta information stored in the files. For example, MusicArtist and MusicAlbum let you find MP3 and other music files based on the singer and album name; DocAuthor let you find Office documents created by a certain user; DocAppName let you find files of a particular program, and so on. Indexing Service uses plug-ins...
1
3271
by: nganglove | last post by:
C++ string search -------------------------------------------------------------------------------- Hello, please can any one help me? I am given an assigment in C++ to read a text file and search for certain words.If those stated words are found, then I should print the enire them including the entire line. Below is an example of such a text file Example text file: Possible failures: -> Member=1, FSce=1, MP=13.16%, atching...
0
8631
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9115
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8984
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7661
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6491
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4579
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3003
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2272
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1976
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.