Visual Studio :: Where Is Find And Replace Window
Jan 26, 2010I have press ctrl-F or view-> find in VS2008 for a project. The find window does not
show. I can search in other project. But for this project. I cannot open the find window?
I have press ctrl-F or view-> find in VS2008 for a project. The find window does not
show. I can search in other project. But for this project. I cannot open the find window?
I have a page that contains some text within a div. How do I go about finding that text and replacing it with a div?
View 4 RepliesIn VS2010, when I "find in files", I often get doubled results in my find window.
View 5 RepliesThe text and style runs properly but the server side code is ignored. How would I write this so that it's not ignored? Do I have any options?
Text = Text.Replace("Blank Div", "<div class=""New""><% If Session(""User"") Is Nothing Then%><asp:LinkButton ID=""lbtnSignup"" runat=""server"">Sign up</asp:LinkButton><% End If%></div>")
How do I display the Toolbox? I've looked under every menu item and just don't see it.
View 1 RepliesI work with Visual studio 2005 and Sql server data base. I extract 1 million rows from a database and I put the rows in a Sql table. With a simple direct extraction, in a few minutes I complete the operation:
Dim cmd As New SqlCommand(query, cnSql)
cmd.ExecuteNonQuery()
cmd.Dispose().
But, if I must select and modify some fields between extraction and introduction, it takes a lot of time!
I work in this way. I extract rows from Dbase, Table1, and I put all into a Collection using dataReader:
Dim cmd As New SqlCommand(query, cnSql)
Dim coll As New Collection
coll.Clear()
Dim dr As SqlDataReader = cmd.ExecuteReader()
I replace some fields with the string "YES".
Dim toRepl As String = ""
If dr.HasRows Then
Do While dr.Read
toRepl = dr(5).ToString
If Len(toRepl) <= 3 Then ToRepl = "YES"
collPrel.Add(dr(0).ToString)
collPrel.Add(dr(1).ToString)
.................. ..............
collPrel.Add(toRepl)
collCount = collCount + 1
Loop
End If
dr.Close()
cmd.Dispose()
Now, I insert all into a SQL Table2:
Dim a As String = "", b As String = "", c As String = "" etc.
For i = 1 To collPrel.Count Step 6
a = collPrel.Item(i).ToString
b = collPrel.Item(i + 1).ToString
.............. ...............
f = collPrel.Item(i + 5).ToString
queryIns = "INSERT INTO Tab (name, adress, etc)
VALUES ('" & a & "', '" & b & "', '" & c & "', etc. )
Dim cmdIns As New SqlCommand(queryIns, cnSql)
cmdIns.CommandTimeout = 600
cmdIns.ExecuteNonQuery()
cmdIns.Dispose()
Next
This way to work goes right but it is necessary a lot of time for completing the operation.
everytime i debug the application i get the disassembly tab window i tried tools/option & unchecked show disaasembly if not is not avaliable & sourec file to exce;ty open the original file
but still i get after making the chnages i restarted my system but still i get it
how do i disable teh disassembly tab
In the video here [URL] Joe adds event stubs to his code by selecting them from the drop down in upper right portion of the code window. I can do this in VB, but not C#. Is this feature only available in VB? Is there a setting I must adjust in C#? Is there a way in C# to get a stub for the (for example) OnPreInit event?
View 3 RepliesI install visual studio 2003 in window 7 which window 7 build in is IIS7.5. I can't debug it.
View 2 Replieshow to increase size of Immediate window by default in vs 2010 Professional?
View 1 RepliesThe events tab in my property window disappeared.
I opend various applications and made even a new one, but nothing..
Changed from design to source view and back, even performing a "reset all settings "from the tools - import and export setting dus not give me my events tab back.
how to get the tab (with the lightning bold) back??
As far I know this is not supported for asp.net projects. It's quite handy for testing static/shared functions.any info if this will be available in future versions? Or if there are any alternative ways to test your functions in design mode?
View 1 RepliesI have a simple question : in the output window when you build a solution, how to change its behavior so that files with errors do not appear with their full path? I only need the file's name, not its full path.
The reason is I am using Visual Studio to build projects whose files are in very very deep folders (paths >400 characters), which messes up the output in a very annoying way...
In Microsoft Visual Web Developer 2010 Express, Edit->Quick Find mean item, the "Quick Find" item, everytime I have to select "Find In Files" again, how can I set "Find In Files" as default?
View 3 RepliesI lost my error list window and I can't get it back even when ctrl-w, ctrl-E is invoked or from the menu.
View 2 RepliesWhen i create a sql script in the Query Builder (going through the wizard in a DataSet) the Query Builder window is to small for me. Is there a way to maximize this window by default?PS, I have previously posted this in the forum "Visual Studio 2008.
View 2 RepliesIs it possible to serialize object direct from Visual Studio .NET Debug window. I have a very complex object structure which contains multiple sub objects along with List item etc. I mean the Hierarchy is complex. And I need to analyze the object graph closely for that I need an offline view (may be in the from of XML/ Serialization). I can not do that from VS.
(One can reccomend me to use XMLSeriliazation in my code to generate but please consider that may not be alwways possible because of
1. with default .NET Serialization class a complex object which has manu sub objcts with Collection. is not get serialized properly. So need custom serialization & deserilazation code for that, does not come witf Microsoft Librarry.)
2. I am using it somewhere (Silverlift app) where such operation may be not possible.
3. I do not want to spent time creating or evaluating any ones custom serilaization code/tool
In the past I've created labels on a page that are set to visible when something happens. This has been useful in letting me know when a certain method was called or to help me understand what was happening behind the scenes.
Can the output window in VS be used for something like this? If not is there a different window in VS that can be used for this? If so, what class and methods should be used. It would be nice to have some text appear in a window when a certain event has fired or when a method was called.
I lost my Varible Window that displays the varibles during a debug session.
I can not find how to bring it back.
I'm debugging some tricky generic List-based code in VS 2010 - lots of heirarchy-processing etc.. Of course lambda expressions and anonymous methods aren't permitted within the immediates window and I can't be doing with stepping thru the code in the usual way as I'm still trying to get my head around the hierarchies ...Can anyone suggest a workaround or an alternative tool?P.S. An aside - I can't seem to find a visual studio 2010 tag?
View 1 RepliesThe "Look in" dropdown doesn't always default to "selection" when selecting a *single line*.
Screenie: [URL]
Reproducing the issue:
1. Make sure nothing is selected, cursor at beginning of a line.
2. Hit CTRL-H. "Look in" will show "Current Document"
3. Hit ESC to cancel the dialog.
3. Hit SHIFT-DNARROW to select a *single* line.
4. Hit CTRL-H. "Look in" still shows "Current Document". It should show "Selection".
This is VS Team 2008 v9.0.30729.1 But it also occured in VS 2005 and VS 2003.
Surely someone's noticed this before? It's quite painful when you just want to replace something on a single line, but end up doing it on the entire doc.. but only notice sometime later.
I have a project with hundreds of usercontrols but many of them are old and no longer used. Is there are quick way to find out which ones can be deleted?
View 1 RepliesI am using the ASP Web Application template from Visual Studio for my website. I created an images folder in the directory directly, and not in visual studio. I cannot get visual studio to show this directory. How do you add directories in visual studio or get it to recognize it. I know most of you are thinking of responding with "Why don't you just create the image directory through visual studio".
View 1 RepliesCan't find new classes in namespace
View 3 RepliesDownloaded Microsoft Visual Web Developer 2010. I cannot find aspnet_regsql.exe anywhere on my pc, searching to download it. Google searched, search in msdn, microsoft, still cannot find this file to download. where I can download this file from?
View 9 Replies