visual-studio

Free vim add-in for Visual Studio?

Is it any free Visual Studio addons that emulate vim text edit mode? For now I have found only ViEmu, but it's 100$ :(. ...

Why should I do UnitTest for my SQL, DAL and BLL if my App will only call BLL metods?

I've put up some tests using VisualStudio integrated test enviroment, they simultate what my web application would do by calling BLL methods (they only ones the UI layer should know and interact with)... So if their behaviour is correct - I get my tests passed - why should I write tests for lower layers such as DAL/Stored Procedures as ...

Any emacs add-in for visual studio?

I know about the included emacs keybindings, it's barely ok. I want to know if there exists a more thorough emacs add-in for visual studio similar to viemu for vi. I found VisEmacs but it seems unfinished. ...

Visual Studio: How to name the .msi output file of an installer project?

Greetings, I have a setup(installer) project in visual studio. I would like to be able to choose what name the msi file that is created when I build the installer. I've tried to rename the setup project, rename the content project itself, no success. Anyone could help? I'm sure it's something trivial. ...

Why does Visual Studio (2008) create all these *.vsmdi files

Why does Visual Studio (2008) unit testing create all these *.vsmdi files? Can it be turned off? ...

how to insert a dialog into a win32 dll code

We have an existing small key hook win32 dll program to lock (for example alt+ctrl+space) and unlock (for example ctrl+del+end) some resource. I was asked to add a dialog to ask user input user name and password when try to unlock with ctrl+del+end. We are using VC++ under .Net 2003. Did some VC++ project but not involve MFC before. An...

Tips for Moving from VS.NET to Xcode

After developing in VS.NET for many years, I'm starting to do some Xcode development and I'm very much hard-wired to the VS.NET way of doing things. I'm not looking for a debate about which environment is better, but some productivity tips when moving from one to the other. Does anyone have tips, keyboard settings, etc that they found...

Linq to SQL Templates in .NET 2.0 Projects

I can't find a template for a linq to sql class in .net 2.0 project, based on what i know you can work with linq in .NET 2.0 as long as you have 3.5 in your development machine and ship system.core.dll with your application? so based on that how can I add a Linq to Sql model to my project when "Linq to Sql Classes" template is missing ...

Nested Loop scenario, getting values before exception in debug mode - Visual Studio

If I have a nested loop scenario and I am stepping into it in debug mode. Ex: for (int i = 0; i < listTest.Count; i++) { for (int j = 0; j < anotherList.Count; j++) { //Some logic that throws an exception } } Is there a way for me to know the values of i, j, listTest[i] and anotherLIst[j] just before the exception occur...

NSIS visual studio color/font/intellisense

Does anybody have a color/font/intellisense add in for editing of NSIS files? ...

Set source file dependencies in csproj file without manually editing

I want to group all the files of my partial classes similar to the way that myForm.cs, myForm.resx, and myForm.Designer.cs are. I can do this by manually editing the csproj file and adding DependentUpon elements to the files, but can I do it using the GUI instead? ...

how can effectively debug stored procedures in visual studio

hi ive been debugging sql 2005 stored procedures in visual studio 2005 and find it really frustrating that i can't run a sql query while stepping through the code. specifically my main issues are... if my SP inserts/updates to temp tables then i cant query those tables while debugging. would be cool if i could use the immediate wind...

Do Visual Studio 2008 macros have to be written in VB.Net?

Probably a stupid question but, do Visual Studio 2008 macros have to be written in VB.Net? If not, what are the alternatives? ...

error LNK2005: new and delete already defined in LIBCMTD.lib(new.obj)

Hi All, I have a Visual studio 2005 solution that has two projects. One is a static library and the other is a executable used to test the features in the static library. The static library uses MFC. I got the following errors when I built the solution. uafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int...

Setup problem VS .NET 2005 - Can I commit?

After I created setup in .NET 2005 (.NET Framework 2.0) and tried to install in windows with Service Pack 3 which has .NET framework 2.0 Service pack 1, .NET framework 3.0. It prompted me "Can I commit?" at the end of installation. And It failed at the end with error code 29527 Anyone has any idea? ...

Mouse Over Effects for Button in C# (using Visual Studio 05)

I want to change the background image based on mouseenter and mouseleave events to achieve a mouseover effect for the buttons. What is the simplest way of achieving this (preferably in a manner so that the button can be inherited)? ...

How do I show a Win32 MessageBox?

I'm trying to make a pop up message box with "Hello World" written on it. I started off with File>New Project>Visual C++>CLR>Windows Form Application Then I dragged a button from the toolbox onto the form, double clicked it entered private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { MessageBox("Hello Wo...

What could cause "Debugging will be aborted" error in Visual Studio 2008?

From time to time I get the following error when starting the debugger in Visual Studio 2008 SP1: The network connection to MYCOMPUTER has been lost. Debugging will be aborted. I have several projects in the solution configured as startup projects. Some of them get started when the error occurs, some won't. Any ideas? Update: - Visua...

Including More Database Connection Options in a Visual Studio Isolated Shell Application?

When starting up an isolated mode visual studio shell application, the only databases available in the Tools->Connect to Database are Access, SQL Compact, and SQL Server Database File. Is there a way to configure the isolated shell to include other database types? In particular SQL Server and MySQL. Are there any licensing agreement...

Pros and Cons of ASNA Visual RPG (AVR)

Have you had any experience with ASNA Visual RPG for Visual Studio 2005/2008? I'm looking for some feedback on this product. I'm especially curious as to how it compares to other methods of accessing files and programs on the IBM’s System i (formerly known as iSeries, AS/400) server. Thanks! ...