visual-studio-2005

VS2008 binary 3x times slower than VS2005?

I've just upgraded a native C++ project from VS2005-SP1 to VS2008-SP1 The first thing I tested was a very basic functionality test of the application and the first thing I noticed is that the main number-crunching algorithm performs three times slower in the VS2008 binary. I tested again the VS2005 binary to make sure there isn't any oth...

Error spawning cmd.exe while building Visual C++ 2005 project

I was changing the vc++ include directory with new paths suddenly getting below error erProject : error PRJ0003 : Error spawning 'cmd.exe'. ...

Visual Studio Web Design

I'm using visual studio 2005 and have been building asp.net applications. Mostly just departmental level apps for reporting and data maintenance. They work and they look ok but they don't look great. I don't have any other tools like Dreamweaver or Expression. Can anyone name any books or resources for making better looking web page...

Visual Studio skips build

When I try to build my project I get the following message in the build window : ========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped ========== I tried rebuilding , then building again , but it doesn't help . Is there a way to view more detailed messages ? The "skipped" part doesn't give me any info on what's wrong . I am ...

What is ASP.NET MVC?

Can anyone explaine me, what is MVC, why we use it and how we can use it. Benefits of using this? and can we use ASP.NET MVC in ASP.NET 2.0 (VS 2005) ...

What are all these Visual Studio 2005 files for?

I just (re-)joined a company to work on some C++ projects. I'm looking at the files and I'm trying to figure out what all the Visual Studio related files are. Many I suspect are orphans from previous versions of the IDE. I've listed all the file extensions below and annotated the ones I think I understand. If can provide more informatio...

Building both DLL and static libs from the same project

I have a number of native C++ libraries (Win32, without MFC) compiling under Visual Studio 2005, and used in a number of solutions. I'd like to be able to choose to compile and link them as either static libraries or DLLs, depending on the needs of the particular solution in which I'm using them. What's the best way to do this? I've...

C#, sp_executesql and Incorrect Syntax

Hi, I'm calling the code below. On the line (IDataReader dr = cmd.ExecuteReader()) sql barfs with an Incorrect syntax near 'CompanyUpdate'. using (SqlCommand cmd = new SqlCommand("CompanyUpdate")) { cmd.Parameters.Add("@CompanyID",SqlDbType.Int); cmd.Parameters.Add("@Description",SqlDbType.VarChar,50...

Changing font for member variables in Visual Studio

I don't think this is possible, but I'll ask anyway... Is there some way to set the color and font to be used for class member variables in the editor? I just returned to C++ and Visual Studio after being in the Java world for the past 4 years and I'm really missing Jetbrains' IDEA (a killer Java IDE). I've really gotten used to having ...

Visual Studio 2005 (C++) default warning level

I'm working on a new development in C++, using MS Visual Studio 2005. For this, I need to add several new projects to my solution. I always set my warning level to 4, and turn on "treat warnings as errors" (project -> properties -> c++ -> general). Is there a way for me to tell Visual Studio that this is my default so I don't have to do...

C#/.Net 2.0: Problem with the Repeater control and Checkboxes when inside a User Control!

I have a repeater control with a check box, if I check the box then my delete functionality will delete an item in the underlying table. When I test the delete functionality on an aspx page with a code behind page, everything works fine. Hooray! However, when I take the repeater and put it into a User Control, the delete functionality ...

Where should external assemblies be place in my Visual Studio solution so that they are part of source control?

I have a multi-project solution. I believe it is best practice to put all externally referenced assemblies (e.g. OSS stuff) in a folder that is on the relative path of the solution and it's component projects. I'd like to create a real folder called Libs within the same Windows folder that contains my .sln file and add it to source con...

How to preserve COM DLL version in an auto-generated interop assembly in VS2005?

I've added a reference to a co-worker's COM DLL -- MyLogic.dll -- to my C# project in Visual Studio 2005. As expected, this auto-generates Interop.MyLogicLib.dll in my output folder. However, the version number of the COM DLL is 2.1.0.180, whereas the version number of the auto-generated interop assembly is 1.0.0.0. How do I get Visual S...

Why does Visual Studio 2005 take so long to update my VSMDI file?

Hi, I am using a solution with many projects in Visual Studio 2005. Unfortunately we are using the testing tools. My problem is that a lot of the time when I open up Test Manager by double clicking on my VSMDI file to do some testing, I get the hourglass for at least 10 minutes while Microsoft's horrible code does god-knows-what, I gues...

How to install CodeRush Xpress on VS2005

I know that CodeRush Xpress is intended to be used on VS 2008 and not on VS 2005. But since I can't migrate to VS2008 yet, I want to install it on VS2005 and don't care it's not supposed to work. My base assumption is that it can be done, this is based on the fact that the rest of the free re factoring products from DevExpress do work o...

Work on a VS 2005 solution in VS 2008

I have no desire to install 2005 on my laptop, but I do often like to work at home. I am formulating a process to enable me to check out the 2005 project, back up the solution and project files - these are all that change - and convert the solution to 2008. I then back up the 2008 solution and project files, and commence work. To comm...

Five Questions regarding the use of C# / VisualStudio 2005

I've some questions .. and I really need your help. I have an application. First I display a splash screen, a form, and this splash would call another form. Problem: When the splash form is displayed, if I then open another application on the top of the splash, and then minimize this newly opened application window, the splash scre...

Read\write boost::binary_oarchive to pipe.

Hello. I am continue to build two simple processes throwing class objects one to another (see my previous post) through simple (anonymous) pipes. Now I revealed for myself boost::serialization (thanks answered people) and have tried to make some class be serialized through ::WriteFile\::ReadFile. So - what I am doing wrong? 1) I creat...

Static member variable in template, with multiple dlls

My code is built to multiple .dll files, and I have a template class that has a static member variable. I want the same instance of this static member variable to be available in all dlls, but it doesn't work: I see different instance (different value) in each of them. When I don't use templates, there is no problem: initialize the sta...

Proper usage of array as field member in VB 2005

I normally use C# and I'm attempting to convert a qbasic programmer to the joys of object oriented programming by easing him into VB 2005. Below is a extremely simplified version of what I'm trying to accomplish. It successfully compiles, but all members in the array of card objects are set to "Nothing". The test line throws a NullRef...