visual-studio-2008

Working with Visual Studio 2005 projects in Visual Studio 2008

Hi everybody, I've received a new computer from my employer. This time I don't want to maintain several versions of Visual Studio (although I know they work great side-by-side). Can I work with an ongoing VS2005 project in VS2008? By 'working' I mean the ability to open, modify, and save back to the original format. Any ideas? ...

Multi-Threaded MPI Process Suddenly Terminating

Hey all - I'm writing an MPI program (Visual Studio 2k8 + MSMPI) that uses Boost::thread to spawn two threads per MPI process, and have run into a problem I'm having trouble tracking down. When I run the program with: mpiexec -n 2 program.exe, one of the processes suddenly terminates: job aborted: [ranks] message [0] terminated [1] ...

Export Visual Studio Template error: "Unable to read an exported file"

When exporting a Visual Studio project to a Template (File/Export Template...) I get the following error upon clicking the Finish button: Unable to read an exported file for the following reason: The file cannot be opened with the selected editor. Please choose another editor. A Google search for this error has only le...

Build error For Web Application in VS2008 when Intellisense Works

When building the solution, the code behind is not picking up changes made to the applicaitons dlls. Intellisense works, and the page builds when using the "Build Page" command, however when trying to build the entire solution the build fails. Does anyone know why this might be? ...

VIsual Studio 2008 - Debugging tips/tricks - Continue "until next function" or "until next file"

Is there any way to tell the debugger to just continue until the next file is accessed, and/or until the next (developer written) function is accessed, without setting debug points ahead of time? I'm kind of new to VS debugging so all I use right now are f5, f10, and f11. ...

Visual Studio - Debugging dialog

Hi folks, i get this dialog while debugging code in visual studio 2008. (your step-into request resulted in an automatic step-over) Any Ideas? TIA ...

given up on gridview fixed header

Working on: asp.net Gridview Control ok i tried and tried and maybe searched the entire web... but i could not find anything good for my asp.net gridviewcontrolwhich whill fix the header and allow sorting. but most of all work in all browsers and not just IE and Firefox alone.... chrome was the main problem nothing worked... this was on...

Why move to Visual Studio 2008?

I always wondered why/what would be a benefit in moving to VS 2008 or vs 2010 from VS 2005 , What would be in it for a company that has invested a lot in having code in VS 2005 to move to 2008 or 2010. I know the benefits of the framework and new features, but how do I sell one an idea to move to the Latest framework?. ...

How to run a ".bat" file during installation?

In a Setup project the executable files such as ".exe , .dll , .js , .vbs" are acceptable and there is no way to run a .bat file in a Custom Action. The question is how to run the "xxxxxx.bat" during installation? ...

How to code to check whether older installer version is already available on machine

We are developing customized installer using visual studio 2008 installer project. The requirement which we are trying to adress is; suppose user starts installation and if already older version is available on same machine then we should promp user to upgrade the version and needs to show list of files which are new in this version. ...

Why does Visual Studio continue build after Stop debugging?

I have a Visual Studio solution with roughly 90 projects in it (mixture of Windows Forms in C#/VB.NET,WPF and Silverlight stuff). I have a Windows Forms application (C#) as the startup app. I press F5 to start debugging. When I exit the debugged application by selecting Stop Debugging in Visual Studio or by selecting Exit in the debugg...

[VS2008] How to install add-ins manually

Hi folks: I get a addins2008.zip at which there are three files inside it. How do I install it manually? Thx. ...

Code Review: How to stop programmers using specific namespaces / functionality

I am working on a project with ca. 20 developers. One thing we are finding is that it is difficult to keep up with code review. Somethings we automate, like checking code complexity, finding empty catch blocks etc. Other things are a bit more difficult. For example in our case no data should be stored in session state. Is it possible...

Is it possible to separately plug in OpenMP libraries to Visual C++ 2008?

In Visual Studio 2005. OpenMP didn't come with the Express Edition, but it was possible to download it separately and get it set up, since the compiler itself was OMP-enabled. Is the same true with Visual Studio 2008? We are all using Standard Edition which similarly supports OpenMP but doesn't come with the libs/headers. Some code we h...

Problem when typing quote in visual studio.

When using visual studio - when I type an open quotation character in the code designer nothing happens, it seems like the key command is held back for some reason until I type another quotation character, then both are sent to the screen at once. Same applies for single quotes, or double quotes. This is annoying, and I would like no...

Cannot update Excel source properties in SSIS package

I have an SSIS package that imports an excel spreadsheet into an SQL Server 2008 database. I have an Excel connection in the Connection Managers tab and it points to an Excel file on my local computer. But when I open the Excel Source in Data Flow, if I try to view columns or change the "Name of Excel sheet:" I get this error. Error a...

Visual Studio 2008: How to redirect Trace, Debug and Console output to the Output window?

I have noticed recently that the Visual Studio "Output window" stopped writing out my Debug.WriteLine messages in my WinForms application. It does neither output the Trace.WriteLine messages. I have also used DebugView while running this application and it shows nothing. I am sure it worked in some VS projects some time ago - the output...

Visual Studio 2008 add-in problem with server explorer

Hi guys, I wonder how i can add a context menu item to the stored procedure tree node of my databases, in order to autogenerate some code. My troubles are in get the context menu of stored procedure node and add to it a item "Generate code". If you could provide a brief example, i'm using UIHierarchy but no luck! Any help appreciated!!...

Is the Visual Studio template file just a regular .zip file or is it something else?

I'm trying to tweak a project template file exported by Visual Studio's "Export Template" wizard. At first glance this looks like just a garden-variety zip file, but it's not: I can't edit files. If I try to change or delete or replace a file in the zip archive, I get The Compressed (zipped) Folder is invalid or corrupted. If I uncompr...

Is filling memory with non zero values slower than filling it with zeros?

I'm not very expert on how processors work, but one might imagine that it was easier to set chunks of memory to zero than non zero values and so it may be marginally faster. ...