Re: Windows Search won't scan CLS, BAS or FRM for text?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Randy Birch (rgb_removethis_at_mvps.org)
Date: 06/16/04


Date: Tue, 15 Jun 2004 23:27:01 -0400

You might want to grab Agent Ransack
(http://www.mythicsoft.com/agentransack/), a Freeware search tool. I used
it exclusively to do my searching in vb project files since it returns not
only the file, but on clicking it shows the relevant string matches inside
the file.

-- 
Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.
"Joseph Geretz" <jgeretz@nospam.com> wrote in message 
news:OSAEKWvUEHA.712@TK2MSFTNGP11.phx.gbl...
: Thanks to all for your quick responses.
:
: Jeff, you are correct, it's an XP issue.
:
: It's documented here http://www.dougknox.com/xp/tips/xp_bad_search.htm. 
I've
: applied the suggested fix, rebooted and this is now working correctly.
:
: <gripe>
: I guess the new XP search approach is more powerful since it provides a 
hook
: to an externally supplied module to search through unknown file types. But
: in the absence of a defined PersistentHandler (which VB6 doesn't 
implement,
: since it predates XP by a long shot) isn't there a fairly simplistic
: algorithm which can be employed to determine whether a file is a text 
file?
: </gripe>
:
: Thanks for your help,
:
: - Joe Geretz -
:
: "Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message
: news:OjHtgNvUEHA.1172@TK2MSFTNGP10.phx.gbl...
: >
: > "Joseph Geretz" <jgeretz@nospam.com> wrote in message
: > news:uYgm2KvUEHA.716@TK2MSFTNGP11.phx.gbl...
: >
: > > I'm finding that Windows Search will not scan CLS, BAS, or FRM files 
for
: > > text. I search for *.cls; *.bas; *.frm. Search returns a listing of 
all
: > > files in my project structure. If I then specify to search files for 
the
: > > text 'Then' (or any text) It returns no entries. If I apply the same
: > search
: > > to *.*, one XML file is returned which has the word 'Then' in a 
comment.
: > It
: > > seems that the search agent simply refuses to search through VB source
: > files
: > > for a text match.
: >
: > Windows XP reduced the list of file types it will search for text. There
: is
: > a registry value that you can add extra extensions to. Try looking for 
"xp
: > search text files add extensions" on Google. If you can't find it, let 
me
: > know and I'll try to dig it up for you.
: >
: >
:
: