visual-studio-2005

How do you build the x64 Boost libraries on Windows?

I've built the x86 Boost libraries many times, but I can't seem to build x64 libraries. I start the "Visual Studio 2005 x64 Cross Tools Command Prompt" and run my usual build: bjam --toolset=msvc --build-type=complete --build-dir=c:\build install But it still produces x86 .lib files (I verified this with dumpbin /headers). What am I d...

Can I set Visual Stdio 2005 to ignore assertions in a specific region of code while debugging....

Aaargh! OK, here's the scenario. I'm debugging my own app (C/C++) which is using some library developed by another team in the company. An assertion fails when my code generates some edge case. Its a pain because the assertion is not formulated correctly so the library function is working OK but I get all these interruptions where I jus...

ASP.NET Membership: Login Controls Source Code

Is the source code for the common login controls available? Those are the controls which are available under Login section in Toolbox: Login, LoginView, PasswordRecovery, LoginStatus, LoginName, CreateUserWizard, ChangePassword Eventually could you point me to a good source of custom implementation of functionality that those ...

How to programatically change a project's product version?

Here is my problem: I have several deployment projects. In order to deploy an application, I need to do several tasks, one of them is to change each deployment project's product version and product code. I can't find a way to programatically change them. Can anyone help me ? Thanks in advance. UPDATE: Since it's a Deployment project...

Automated Dead code detection in native C++ application on Windows?

Background I have an application written in native C++ over the course of several years that is around 60 KLOC. There are many many functions and classes that are dead (probably 10-15% like the similar Unix based question below asked). We recently began doing unit testing on all new code and applying it to modified code whenever possibl...

where is my ActiveX DLL project template in VS 2005?

In VB6, ActiveX DLL is listed as a project template but in VS 2005+ there is no such thing. Where is my good old ActiveX DLL template? Many thanks in advance. ...

What are some reasons a Release build would run differently than a Debug build

I have a Visual Studio 2005 C++ program that runs differently in Release mode than it does in Debug mode. In release mode, there's an (apparent) intermittent crash occurring. In debug mode, it doesn't crash. What are some reasons that a Release build would work differently than a Debug build? It's also worth mentioning my program is ...

Change ConnectionString in VS2005 (C#)

Hi, I know there is some similar issue at: http://stackoverflow.com/questions/63546/vs2005-c-programmatically-change-connection-string-contained-in-appconfig But the still the question is not answered!! I need to MODIFY the connection string not adding new one. Thank you, ...

TFS 2005 Wiki Template?

Is there a Wiki plugin for TFS 2005, ie. SharePoint Services 2.0? ...

Textbox anchored to a form on all 4 sides not displayed properly

I'm running into a problem trying to anchor a textbox to a form on all 4 sides. I added a textbox to a form and set the Multiline property to True and the Anchor property to Left, Right, Up, and Down so that the textbox will expand and shrink with the form at run time. I also have a few other controls above and below the textbox. Th...

comparing products of builds in release

I need to compare build outputs of VS2005 in order to be sure I can reproduce the exact same product. when I do two builds one after the other in release and compare the produced files I get different files, doing text comparison it seems that more than just the datetime is different how can I build in order to reproduce exact same pro...

Integrate jQuery Intellisense in VS 2005

How to integrate JQuery Intellisense support in VS 2005 ...

How do I change IE script debugger from MS Script Debugger to VS 2005

I have Microsoft Script debugger installed and selected (somwhere) as the script debugger of IE. I want to make VS the default script debugger. When I uninstall MS Script debugger IE just wouldn't start any debugger on a javascript error. So how do I go back to VS as my default IE script debugger? ...

What is the best way to do cross-platform development with Visual Studio?

We are developing a number of games on multiple paltforms (DS/Wii/Xbox 360/PS3/PC/PSP). Each has their own compiler/linker and debugger. We want to use Visual Studio as the IDE and to manage the build process but use the platform specific compilers (and settings) to generate the appropriate output. We could manage the build process outsi...

How to move "Solution Explorer" tab in Visual Studio

Does anyone know how to move the "Solution Explorer" tab in Visual Studio 2005? It's on the left, and I can't move it to the right. Thanks, Alan ...

How to Access Properties / Macros from VS Extensions

When writing a Visual Studio Extension, how do you access "macros", as in $(SolutionDir), or $(ProjectName). ...

how to convert Gridview to Datatable

Hi all I am using GridView in my application for populating datas. Is there any easy way to copy a gridview to datatable ? Actually, in my GridView one of the control is textbox. So I can edit that control at any time... What I need is on the button click whatever changes I made in GridView has to copy in one datatable... I did this...

Compiler warning: null reference exception

I have the following code in Visual Studio 2005. Dim OutFile As System.IO.StreamWriter Try OutFile = New System.IO.StreamWriter(Filename) // Do stuff with OutFile Catch Ex As Exception // Handle Exception Finally If OutFile IsNot Nothing Then OutFile.Close() End Try But VS2005 brings up...

Trying to use Visual studio IDE (Find & Replace) as a quick & dirty regex tool but stucked

I have a xml text file opened in VS2005 IDE. It has 4 mocked up lines: <mc id="dog" name="mydogBob"/> <mc id="cat" name="katie"/> <mc id="turtle" name="slow"/> <mc id="fish" name="happy"/> How do I use VS2005 Find/Replace function with regular expression to replace words and make the final result like: dog cat turtle fish Thank yo...

Visual Studio Tips on getting headers that are used in a given project?

I have added all the header files from library in path how to get the headers that are only needed for the project ...