Home All Groups Group Topic Archive Search About
Author
24 Mar 2009 11:22 PM
Bee
Am I the only one who finds that find doesn't.

e.g. if I search for .Filter it only finds some of the matches.
If I use Use Pattern Matching and I do *.Filter it finds the others.
In all cases something proceeds the .Filter  e.g. tType.Filter

And sometimes, like just a few minutes ago, I was searching for sContains
and it did not find but only a few of the total.

I do a search and replace the attempt a compile only to be told that
sContains is not defined (because I changed the definition but did not find
all the usage).

Yes, I had Current Project selected and Find Whole Word as necessary.

I know, reinstall Windoz and the IDE.
Or ... ?

Author
24 Mar 2009 11:59 PM
Karl E. Peterson
Bee wrote:
Show quoteHide quote
> Am I the only one who finds that find doesn't.
>
> e.g. if I search for .Filter it only finds some of the matches.
> If I use Use Pattern Matching and I do *.Filter it finds the others.
> In all cases something proceeds the .Filter  e.g. tType.Filter
>
> And sometimes, like just a few minutes ago, I was searching for sContains
> and it did not find but only a few of the total.
>
> I do a search and replace the attempt a compile only to be told that
> sContains is not defined (because I changed the definition but did not find
> all the usage).
>
> Yes, I had Current Project selected and Find Whole Word as necessary.
>
> I know, reinstall Windoz and the IDE.
> Or ... ?

The only time I've seen Find "fail" is when I don't have "Current Project" selected
(and it's just searching the current module) or if I have any of the checkboxes
checked (those tend to confuse me more than VB, though, it seems).  I can't imagine
a reinstall would help.
--
..NET: It's About Trust!
http://vfred.mvps.org
Are all your drivers up to date? click for free checkup

Author
25 Mar 2009 12:30 AM
Bee
Maybe some conflict with an add-in ???

Show quoteHide quote
"Karl E. Peterson" wrote:

> Bee wrote:
> > Am I the only one who finds that find doesn't.
> >
> > e.g. if I search for .Filter it only finds some of the matches.
> > If I use Use Pattern Matching and I do *.Filter it finds the others.
> > In all cases something proceeds the .Filter  e.g. tType.Filter
> >
> > And sometimes, like just a few minutes ago, I was searching for sContains
> > and it did not find but only a few of the total.
> >
> > I do a search and replace the attempt a compile only to be told that
> > sContains is not defined (because I changed the definition but did not find
> > all the usage).
> >
> > Yes, I had Current Project selected and Find Whole Word as necessary.
> >
> > I know, reinstall Windoz and the IDE.
> > Or ... ?
>
> The only time I've seen Find "fail" is when I don't have "Current Project" selected
> (and it's just searching the current module) or if I have any of the checkboxes
> checked (those tend to confuse me more than VB, though, it seems).  I can't imagine
> a reinstall would help.
> --
> ..NET: It's About Trust!
http://vfred.mvps.org
>
>
>
Author
25 Mar 2009 1:11 AM
MikeD
"Bee" <B**@discussions.microsoft.com> wrote in message
news:2B2E519C-57CA-4063-A4CA-FE241D930458@microsoft.com...
> Maybe some conflict with an add-in ???


Why are you asking that?  If you suspect an addin could be interfering,
disable all addins and verify it for yourself.  We can't disable your addins
for you (unless you want to open your computer for a remote connection).

--
Mike
Author
25 Mar 2009 12:13 AM
Nobody
Is "Direction" set to "All"?
Author
25 Mar 2009 12:29 AM
Bee
Yes 'All'  I always use 'All'

It does not do this all the time and I can't remember a scenario that is
consistent when it happens.  Maybe if there is an error somewhere, I did not
put that in my list of possibilities until just now.

I know Intellisense dies when there are certain errors.
That is my signal to correct before continuing.

Show quoteHide quote
"Nobody" wrote:

> Is "Direction" set to "All"?
>
>
>
Author
25 Mar 2009 1:53 AM
MikeD
Show quote Hide quote
"Bee" <B**@discussions.microsoft.com> wrote in message
news:E813DBB6-0BB7-493A-8578-8A2AF91D8E9B@microsoft.com...
> Am I the only one who finds that find doesn't.
>
> e.g. if I search for .Filter it only finds some of the matches.
> If I use Use Pattern Matching and I do *.Filter it finds the others.
> In all cases something proceeds the .Filter  e.g. tType.Filter
>
> And sometimes, like just a few minutes ago, I was searching for sContains
> and it did not find but only a few of the total.
>
> I do a search and replace the attempt a compile only to be told that
> sContains is not defined (because I changed the definition but did not
> find
> all the usage).
>
> Yes, I had Current Project selected and Find Whole Word as necessary.
>
> I know, reinstall Windoz and the IDE.
> Or ... ?

FWIW, I've never found that Find wouldn't find what it's supposed to except
when it's been my fault (the options not set properly). I hope you were
being facetious about reinstalling Windows and VB (and don't call it
Windoz...that's just being immature IMO).

It's most likely the options you have set.  The "Find Whole Word Only"
option I've noticed can throw a wrench into things. If the text you're
searching for is actually ".Filter", the dot *may* be causing the problem if
Find Whole Word Only is checked.  VB's Find is smart enough to know that if
you search for "Filter" and have "Find Whole Word Only" and "Match Case"
checked, it'll find "Filter" in "tType.Filter". OTOH, if you search for
".Filter" (with those same options checked) it WON'T find it. Unchecking
"Find Whole Word Only" will find ".Filter". Basically, if you do a "Find
Whole Word Only" search, don't include punctuation in what you're trying to
find because that screws up the entire "whole word only" concept.  You gotta
remember that VB's Find is designed for the language's syntax. It doesn't
work quite the same way as a Find does in MS Word or a text editor (nor
should it).

Also, JUST to be sure....this isn't a project group is it? VB's Find won't
search all projects in a group...only the current project (assuming that
option is marked).

If you find VB's Find lacking, you might want to try MZ-Tools.  It's Find
can search all projects in a project group and has other options (such as to
exclude comments from being searched).

Bottom line...I seriously doubt it's VB and it's certainly not Windows.
It's just the text you're searching for and the options you've marked.

--
Mike
Author
25 Mar 2009 4:54 PM
Bee
DNA

Every time this happens I check the options for find and none are set
incorrectly.

Next time I see if the MZTools does the same thing and report back.

Do you like WinDoes better?

Show quoteHide quote
"MikeD" wrote:

>
> "Bee" <B**@discussions.microsoft.com> wrote in message
> news:E813DBB6-0BB7-493A-8578-8A2AF91D8E9B@microsoft.com...
> > Am I the only one who finds that find doesn't.
> >
> > e.g. if I search for .Filter it only finds some of the matches.
> > If I use Use Pattern Matching and I do *.Filter it finds the others.
> > In all cases something proceeds the .Filter  e.g. tType.Filter
> >
> > And sometimes, like just a few minutes ago, I was searching for sContains
> > and it did not find but only a few of the total.
> >
> > I do a search and replace the attempt a compile only to be told that
> > sContains is not defined (because I changed the definition but did not
> > find
> > all the usage).
> >
> > Yes, I had Current Project selected and Find Whole Word as necessary.
> >
> > I know, reinstall Windoz and the IDE.
> > Or ... ?
>
> FWIW, I've never found that Find wouldn't find what it's supposed to except
> when it's been my fault (the options not set properly). I hope you were
> being facetious about reinstalling Windows and VB (and don't call it
> Windoz...that's just being immature IMO).
>
> It's most likely the options you have set.  The "Find Whole Word Only"
> option I've noticed can throw a wrench into things. If the text you're
> searching for is actually ".Filter", the dot *may* be causing the problem if
> Find Whole Word Only is checked.  VB's Find is smart enough to know that if
> you search for "Filter" and have "Find Whole Word Only" and "Match Case"
> checked, it'll find "Filter" in "tType.Filter". OTOH, if you search for
> ".Filter" (with those same options checked) it WON'T find it. Unchecking
> "Find Whole Word Only" will find ".Filter". Basically, if you do a "Find
> Whole Word Only" search, don't include punctuation in what you're trying to
> find because that screws up the entire "whole word only" concept.  You gotta
> remember that VB's Find is designed for the language's syntax. It doesn't
> work quite the same way as a Find does in MS Word or a text editor (nor
> should it).
>
> Also, JUST to be sure....this isn't a project group is it? VB's Find won't
> search all projects in a group...only the current project (assuming that
> option is marked).
>
> If you find VB's Find lacking, you might want to try MZ-Tools.  It's Find
> can search all projects in a project group and has other options (such as to
> exclude comments from being searched).
>
> Bottom line...I seriously doubt it's VB and it's certainly not Windows.
> It's just the text you're searching for and the options you've marked.
>
> --
> Mike
>
>
Author
26 Mar 2009 12:31 AM
Bob O`Bob
Bee wrote:
Show quoteHide quote
> DNA
>
> Every time this happens I check the options for find and none are set
> incorrectly.
>
> Next time I see if the MZTools does the same thing and report back.
>
> Do you like WinDoes better?
>
> "MikeD" wrote:
>
>> "Bee" <B**@discussions.microsoft.com> wrote in message
>> news:E813DBB6-0BB7-493A-8578-8A2AF91D8E9B@microsoft.com...
>>> Am I the only one who finds that find doesn't.
>>>
>>> e.g. if I search for .Filter it only finds some of the matches.
>>> If I use Use Pattern Matching and I do *.Filter it finds the others.
>>> In all cases something proceeds the .Filter  e.g. tType.Filter
>>>
>>> And sometimes, like just a few minutes ago, I was searching for sContains
>>> and it did not find but only a few of the total.
>>>
>>> I do a search and replace the attempt a compile only to be told that
>>> sContains is not defined (because I changed the definition but did not
>>> find
>>> all the usage).
>>>
>>> Yes, I had Current Project selected and Find Whole Word as necessary.
>>>
>>> I know, reinstall Windoz and the IDE.
>>> Or ... ?
>> FWIW, I've never found that Find wouldn't find what it's supposed to except
>> when it's been my fault (the options not set properly). I hope you were
>> being facetious about reinstalling Windows and VB (and don't call it
>> Windoz...that's just being immature IMO).
>>
>> It's most likely the options you have set.  The "Find Whole Word Only"
>> option I've noticed can throw a wrench into things. If the text you're
>> searching for is actually ".Filter", the dot *may* be causing the problem if
>> Find Whole Word Only is checked.  VB's Find is smart enough to know that if
>> you search for "Filter" and have "Find Whole Word Only" and "Match Case"
>> checked, it'll find "Filter" in "tType.Filter". OTOH, if you search for
>> ".Filter" (with those same options checked) it WON'T find it. Unchecking
>> "Find Whole Word Only" will find ".Filter". Basically, if you do a "Find
>> Whole Word Only" search, don't include punctuation in what you're trying to
>> find because that screws up the entire "whole word only" concept.  You gotta
>> remember that VB's Find is designed for the language's syntax. It doesn't
>> work quite the same way as a Find does in MS Word or a text editor (nor
>> should it).
>>
>> Also, JUST to be sure....this isn't a project group is it? VB's Find won't
>> search all projects in a group...only the current project (assuming that
>> option is marked).
>>
>> If you find VB's Find lacking, you might want to try MZ-Tools.  It's Find
>> can search all projects in a project group and has other options (such as to
>> exclude comments from being searched).
>>
>> Bottom line...I seriously doubt it's VB and it's certainly not Windows.
>> It's just the text you're searching for and the options you've marked.
>>
>> --
>> Mike
>>
>>


"Find" can also do some really stupid things when you use a multi-monitor setup.

Yeah, I know ... there's no way in [heck] that should ever matter ...

Just the same; sometimes it does.
If your code window has screen coordinates that go negative, "Find" may
screw you over.





    Bob
--

Bookmark and Share