views:

1297

answers:

6

Sometimes while developing in Visual Studio IDE, when you use "Find in Files" dialog to find something, the search fails and you will see the following message in the "Find Results" window.

"No files were found to look in. Find stopped progress."

Once this message shows-up all the subsequent searches will result in the same message. Nothing fixes the problem including restarting computer except Pressing "Ctrl + ScrLk".

Does anyone know what causes VisualStudio to get into this state and is there a setting to permanently prevent it from happening?

+2  A: 

I don't think there is anything you can do to prevent it. It seems to occur after I have stopped a build with CTRL+Break...Maybe I am pressing CTRL+Scroll Lock during that time???

I have only had it happen to me 2-3 times, and that was several months apart.

What he is saying is that occasionally when performing a search within Visual Studio you get the mentioned error message. Even though you know there is stuff to find. It is some weird state that Visual Studio gets into. If you press the (CTRL+Scroll Lock) it will 'fix' the issue.

Brian Schmitt
+1  A: 

Brilliant Ctrl+'Scroll Lock' who'da thought it! Thank you muchly.

+1  A: 

Sometimes Ctl + Break works, sometimes ALT+Break, Sometimes Ctrl + Scroll Lock, other times ALT + Scroll Lock.

Right now, nothing works.This has been a huge problem for me. Same on MS for not fixing this bug in the last 9 years.

Chad
+4  A: 

According to this thread:

Posted by Microsoft on 10/13/2009 at 4:33 PM

Hi all,

Thank you for your continued interest in this bug. We have been able to reproduce the issue intermittently in several versions of Visual Studio running on several versions of Windows and have identified the root cause as external to VS. The Windows team unfortunately did not have time to fix this for their current release, but we are working with them to hopefully have this bug fixed for a future version of Windows. At present, the workaround (as many of you noted) is to press Ctrl+Scroll Lock, Ctrl+Break, or the Break key alone.

Again, thanks for all of the details you provided about this bug. If you have any further questions or comments, please feel free to post again here; although this issue was closed quite a while ago, I'll make sure it stays on our radar.

Thanks, Brittany Behrens Program Manager, VS Platform - Editor

This bug has been around since at least 2004 and, as of the above post in 2009, had not been fixed.

Ray Vega
+1  A: 

Apparently, for those for who the key combinations don't work (like me at the moment), deleting the folowing registry key brings salvation:

MyComputer\HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\[VS VERSION NUMBER]\Find

Ofcourse, [VS VERSION NUMBER] should be internal version number of the IDE. Don't forget to restart your computer.

Mind you, deleting stuff in the registry is dangerous. Like anyone on SO cares but anyway...

Sandor Drieënhuizen
None of the other fixes worked for me but deleting the all the find registry keys for all my versions of vs did - thanks!
jskunkle
A: 

VS 2010. Nothing works... Deletion of all find keys in registry helped only.

Alex Blokha