Eclipse-like features in Visual Studio
I really like the feature where you can double click (select) a variable and it is highlighted through out the page (Can see all the instances of it). How can I get this feature in visual studio (2005 or 2008 or other)? Is there an option or plug-in to turn this on?
I am sure there are features in...
Is there any to make sure that DNS errors has been occurred after getting WebException in the following code?
WebRequest request = WebRequest.Create(uri);
....
WebResponse response = request.EndGetResponse(asyncResult);
String comparison might be one way. By checking the error message we can be sure. But depending on culture the mess...
Hi,
For some reason I've lost the dropdownbox above the text editor. The one that lists all methods, variables and properties in a class. And it makes me go crazy when I browse larger classes.
...
I'm starting to use Asp.net MVC. It is recommended to use the <% and %> tags to embed the source code in the HTML, since it's easier to read.
Unfortunately though Visual Studio can't detect any errors in the code at compile time. This is a very bad thing.
For example:
<body>
<form action="LogOn.aspx">
<div>
<d...
Hi,
I have implemented a file selector with a combobox. I want to write the selected filename to a log. The problem is that when I select a file from the original directory it goes well but when I choose a file from another directory it won't work. Can anybody help with this? Here is the code for the file selector, it is inside a dialog...
Hey.
I'm trying to catch all user text navigation events (selection changes) in the text editor to update a tool window (contextual to the current position).
The "LineChanged" event under TextEditorEvents only fires on updates, and I did not manage to find any other event.
Anyone knows of such?
Arielr
...
Are there any free plugins for Visual Studio (2005 & 2008) that highlight all words in the current document that match a highlighted word? This feature is in Notepad++ and Eclipse, but strangly not in VS.
I've tried the free version of CodeRush Express for c#, but it only works for c#. I would like the plugin to work regardless of the ...
I have a solution to build a DLL with run-time type information enabled in its project properties. This is the default (/GR) in Visual studio 2005. In our library we have a good few dynamic_casts, so I'm not able currently to build the DLL without run-time type information.
Now my customer is using development tools from Dassault Systèm...
As you might know, Microsoft recently deployed a security update for Visual Studio: KB971090.
Among other things, this updated the Visual C Runtime DLL from version 8.0.50727.762 to 8.0.50727.4053.
So after this update, everything I compile that uses the runtime dynamically linked, gets their dependencies updated to the new runtime.
O...
Possible Duplicates:
Where to begin with Card Reader application in C#
How can I connect to MySQL from windows forms?
I have installed XAMPP, which includes MySQL version 5.
I need to connect to this database from C#, but when I try to add a data source in Visual Studio it doesn't have a provider for MySQL version 5.
What do...
Could any one suggest a tool for performing peer code review before check-ins that is integrated with Team Foundation Server and Visual Studio 2008?
[Update]: Looks like there is no such tool. Can you suggest the best process for code-review after check in?
...
Hello,
I have an error in compiling a project.
I'm trying to link to a library I have on windows, using visual studio.
When trying to create the obkect (with new), I get the following error:
Error 2 error LNK2005: "public: __thiscall std::basic_string,class std::allocator >::~basic_string,class std::allocator >(void)" (??1?$basi...
As you might be aware an update to visual studio 2005 was auto updated on most machines last week. This update included a new version of the visual c runtime library. As a result any binaries built after the update also require a new redistributable installed on client systems.
See http://support.microsoft.com/kb/971090/
And here is ...
Does anyone know of a tool or VS add-in that will allow me to take a base class and a derived class, and collapse them into a single 'flattened' class? Or is this too difficult an operation, given the need to cope with resolving overriden and hidden/new members?
Background: I am working on a project where we have a base class and a sing...
I have a C# Application that uses some other Assemblies, so when I compile, I end up with my .exe and 2 or 3 other .dll Files. Ideally, I only want 1 .exe file. At the moment I use ILMerge for that, but as the Assemblies that I use are Open Source (and under the same license), I wonder if there is an easy way to add them to my Solution a...
Is there a way to call up visual studio's object visualization tools in my own code? say I want to be able to click something and inspect it like the debugger would if I hovered over it in code or added it to the watch?
...
I have created a VS setup project for my app. It install the app to user-defined location and creates several shortcuts in the start menu. It also creates an entry in Control Panel/Add or Remove Programs that can be used to uninstall the application.
I would like to know if there is a way to create a start menu entry (next to other entr...
Hi,
ASP.NET MVC has a bunch of custom item templates to create controllers, views, etc. Those item templates appear to only show up in the Add New Item dialog box when you are inside an ASP.NET MVC project (or more specifically when the MVC project type guid is in the .csproj file). How do they manage to do this? I've looked through the...
Is there a good way to type Unicode symbols in a C# file?
I'm looking for something to the effect of:
Press ALT
Type Unicode Hex
Release Alt
Currently, I'm having to type the symbol into word and copy-paste it into my source file.
...
I think that I understand the difference between Release and Debug build modes. The main differences being that in Debug mode, the executable produced isn't optimized (as this could make debugging harder) and the debug symbols are included.
While building PCRE, one of the external dependencies for WinMerge, I noticed a build mode that ...