I have .NET 2003. When I run "Find in Files" command, everything works as
expected. However when I run "Replace in Files" with the same settings a and
press Find Next, I get: "Look in: A specified directory or file is not
available or does not exist."
There is nothing special in my settings, I don't use regular searches, I
search in "Entire solution".
Thanks for posting in the community.
First I would like to confirm my understanding of your issue.
From your description, I understand that when press "Find Next" of the
"Replace in Files" dialog box in the VS.NET 2003, you get: "Look in: A
specified directory or file is not available or does not exist." message.
Have I understood you right? If anything misunderstood, please feel free to
let me know.
Since the "Find Next" operation of the "Replace in Files" dialog box worked
as expected on my side, I want to know is it a general case in all of your
VS.NET 2003 projects, or just a particular case in your current working
projects?
If it is a particular case, maybe some certain files or directories of your
working solution currently can't be accessed by the VS.NET IDE due to some
reason.
BTW, what's you configuration of the "Look in" Dialog Box of the "Replace
in Files" Dialog Box, is it a default setting or a special one?
Thanks!
Best regards,
Gary Chang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
-------
garychang | Mon, 31 Dec 2007 14:48:00 GMT |
> First I would like to confirm my understanding of your issue.
> From your description, I understand that when press "Find Next" of the
> "Replace in Files" dialog box in the VS.NET 2003, you get: "Look in: A
> specified directory or file is not available or does not exist." message.
Yes, the text appears in Find Results window
> Since the "Find Next" operation of the "Replace in Files" dialog box
worked
> as expected on my side, I want to know is it a general case in all of your
> VS.NET 2003 projects, or just a particular case in your current working
> projects?
I realized, that it works for me too when I fill in directory into the "Look
in" option. However when I use "Entire solution" or "Current project" it
doesn't work. It doesn't work for any of my projects.
> If it is a particular case, maybe some certain files or directories of
your
> working solution currently can't be accessed by the VS.NET IDE due to some
> reason.
Surely not, the "Find in files" works fine and when I use the folder instead
of "Entire Solution", it works.
> BTW, what's you configuration of the "Look in" Dialog Box of the "Replace
> in Files" Dialog Box, is it a default setting or a special one?
Default settings, there is nothing special.
Thanks, Jan
janbares | Mon, 31 Dec 2007 14:49:00 GMT |
> I realized, that it works for me too when I fill in directory into the
> "Look in" option. However when I use "Entire solution" or "Current
> project" it doesn't work. It doesn't work for any of my projects.
Just something to try, as there was a problem with this back in VS.NET
2002: change the file types it looks for, see if it makes any difference. I
remember that it wouldn't work for me with VS.NET 2002 unless I used "*.*".
Just a maybe...
--
harry
harry_bosch | Mon, 31 Dec 2007 14:50:00 GMT |
Just a try to isolate your IDE's problem:
You can use the FileMon (http://www.sysinternals.com) when this occurs and
see what kind of file accesses that the IDE is trying to make.
Thanks!
Best regards,
Gary Chang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
-------
garychang | Mon, 31 Dec 2007 14:51:00 GMT |
http://www.sysinternals.com/files/NTFILMON.ZIP
Run Filemon.exe, once the file monitor window shows up, press Ctrl+E, you
will see a small red check mark on the magnifying glass icon in the
toolbar, then press Ctrl+X to clear the display. Now press Ctrl+L to bring
up the filter dialog, for the include field key in devenv* and make sure
all the check boxes in the dialog are checked, click on the Apply and then
the OK button.
Now start VS.NET and load any solution that you can repro the problem with.
Bring up the Replace in Files dialog.Go back to file monitor and press
Ctrl+E - the red check mark on the magnifying glass icon will go away.
Click the Find Next button on the Replace in Files dialog, you will see the
"Look in..." dialog, while the dialog is sitting on the desktop, go to
file monitor and press Ctrl+E and then click on the File menu in file
monitor and choose the save as option to save the log.
Please send this log to us.
Thanks,
Mukhtar
This posting is provided "AS IS" with no warranties, and confers no rights.
2004 Microsoft Corporation. All rights reserved.
mukhtardesai | Mon, 31 Dec 2007 14:52:00 GMT |
Hello Friends,i am dealing a project, in which i stuck here, the problem is i am new toVC++.net so i need a friends help to solve this problem.I have to identify a system which is connected in a network using VC++.net, please if anyone go through this reply me.I am very thankful to people who sp...
HiNot sure if this is covered already - it looks similar but not identical to a couple of others mentioned here. I'm doing this because the derived class needs to take some parameters in it's constructor even though the example below does not do this. If anyone can think of a workaroun...
Hi,I'm using a List Control (report view) in a dialog. Thislist displays 4 text items, each consisting of 3 columns.Let's consider the following example:Title of column1 Title c2 Title c3 Title c4Item1 info12 info13 info14Item2 info22 info23 info24Item3 info32 info33 info34...
At school, we do all of our coding in emacs, but I am trying to get theexample apps working at home using Visual C++.net.In the example, there are 4 .cpp files (canvas.cpp, main.cpp, myDisplay.cppand tween.cpp) a header file (canvas.h) and a makefile that compiles it forlinux.The tween.cpp is th...
its go like this.i have some hardware that came with dll to access his resources and managethem.(there is nice api).my target:i want to create a class for each resource ,and able to manage him in theO.O way.(and not in the c/procedural way).this dll will be accessed from mulithread application.t...
Dear allI have made a program using Visual C++, and i get the exe program.Now, i want to give the exe file a different icon than the default.How can i make that?thanks a lotMahmoud Ouf...
> Hello,> In the code snippet posted below VS 7.1 (2003)> crashes with the error message:> C:\projects\src\TrayDialog.h(31):> fatal error C1001: internal compiler error> C1001: file "msc1.cpp" line 2701.Thomas,Can you send me (or post) a complete test case so that we can look i...
I make maximize dialog used 'ShowWindow(SW_MAXIMIZE)'.andvoid CEds1000_3Dlg::OnLButtonDown(UINT nFlags, CPoint point){// TODO: Add your message handler code here and/or call defaultif(){AfxGetMainWnd()->PostMessage(WM_NCLBUTTONDOWN, HTCAPTION,MAKELPARAM(point.x,point.y)); //moving d...
Dear all,I tried to maximize dialog in dialog based application. I used'ShowWindow(SW_MAXIMIZE);'andI tried to move dialog around.I used::OnLButtonDown(UINT nFlags, CPoint point){// TODO: Add your message handler code here and/or call defaultAfxGetMainWnd()->PostMessage(WM_NCLBUTTON...
I forgot to mention that I'm working with Visual C++ 6.0Thank you.Geo...
In the Platform SDK: Windows User Interface, the documentation on ITextDocument, says this is delcared in tom.hI dan't have that file. Can anyone send it to me(seems better than dowloading the SP5 of 58MB and still not knowing if it is in thereThanksPaul Ogilviogivliep@xs4all.nl...
I have plane to develop MSN messenger clone.And I wanna develop it using the latest MSN messenger APIbut I can't find any information about the latest MSNmessenger API.Does anyone know about the latest MSN messenger API?Please give me some informations.Thank you for reading....
maybe it is about your project settings. you should check your include, lib,source directories.you can reach them from Tools/Options/Projects/VC++ Directorieshth"supo" <supo99@ntlworld.com> wrote in messagenews:0fVSa.676$%D3.169580@newsfep2-gui.server.ntli.net...> Hi there,> I am try...
I want to be able to split regular MAX_PATH length filenames and 32K UNICODEfilenames using the \\?\ naming convention.Are there any equivalents to _tsplitpath() for long names, or am I left towriting my own split code?ThanksPieter...
Hello!I would like this to happen:In my treeview - I have 4 main group, and about one hundred items underthese four. Are there any way of making the selection under the fourth item,item number 5. How can I set everything above this "read only"? Andeverything below available to be selected.Are th...