visual-studio-2008

Visual Studio 2008 crashes when opening solutions in a TortiseSVN directory? How do I fix this?

I'm using TortiseSVN for my subversion client on a Windows Server 2008 box and I've got a folder with code checked out into it. When I go to open the solution file that's under source control Visual Studio 2008 starts and before it can even finish loading the solution from what I can tell Visual Studio crashes. I'm trying to open a sol...

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? ...

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...

32bit 64bit referenced library

Hi, I am developing an application that has two DLLs one is a 32bit version another is 64bit version, Client is 32bit Server is 64bit My question is is there a way I can say use the 32bit dll when doing Debug/Release and use 64bit dll when I perform a publish. I realize I can solve this problem using NAnt or MSBuild but was wonderin...

Is it possible to set a command button to have a 3D disabled graphic in Visual Studio 2008?

I've recently started a WinForms project in Visual Studio 2008 and I notice that when I disable a command button, it flattens out the button and leave the text black. This is quite an unexpected change from my experiences in VB6 and VS2005 where the button simply grays itself out. Is there a setting that would allow me to make the disab...

Suppressing Unknown Publisher prompt which didn't used to appear

I'm working on a Visual Studio .Net program for someone, and recently the program's been complaining that it's from an unknown publisher. I understand the correct thing to do here is sign it, but for reasons I won't go into that's not an option. The thing is, the program's never done this in any earlier versions. As far as I know, I hav...

msvcr90d.dll not found in debug mode

I found MSVCR90D.dll not found in debug mode with Visual C++ 2008 question but none of given answers really gives answer to the question. Most of them point to turning off incremental linking but don't explain the true cause of the error and how it can be fixed without turning off incremental linking. I'd like to mention that my situati...

How to get Python syntax highlighting for Visual Studio?

Visual Studio 2008 is great as text editor, but it lacks Python syntax highlighting, can I get this as an add-on? Where can I find it? ...

Problem upgrading Visual Studio 2008 trial to full version

I had installed the trial version of Visual Studio 2008. I decided to uninstall it and install the licensed version I just purchased. However, no matter what I try, the installation will not change from the trial to using my new license. I have completely removed the Visual Studio, but still it will not upgrade. What can I do beside re...

Sql Connection in SSIS Package through Webservices

Hi I have SSISpackage which is developed in VS2008/SQL2008(Target Database),My source data is SQL2005. This package is execute with in the .Net framework of webservice. while executing am getting error with SOURCE Connection (with provider=SQLNCLI10 in connection string) getting error,the description as follows. Description: SSIS Erro...

Visual Studio: How to make one solution depend on another?

Is it possible to make a solution in VS depend on (i.e. include) an entire other solution? I've seen some stuff about "Solution Folders", but these don't seem to be the same thing....? Thanks! (BTW, I'm using VS 2008) ...

Can I target CE 4.2 or CE 5.0 using C++ on VS2008

I am developing for a SH4 based device that can run either CE 4.2 or CE 5.0. As per my previous question, I can target these devices using the Standard SDKs under embedded visual C++ 4.0, but I cannot debug over ActiveSync. I have also loaded Visual Studio 2008 (SP1), but cannot load these SDKs up, and hence cannot target my device. I...

Error occurs when I open xsd schema in Visual Studio 2008

When I try to open XSD schema in my Visual Studio 2008 raises error like this: "An unexpected error occurred in the .NET Framework Data Provider for Microsoft SQL Server Compact 3.5" I don't use Microsoft SQL Server Compact 3.5 and connection strings for SQL Server 2005 are stored in XSD table adapters. Any ideas ? ...

Image editing in resources of visual studio 2008

I want to be able to edit an image (png file) from the resources folder of one of my projects in VS2008. But the resource editor in VS will only allow me to zoom in and out. As the images are 32 bit, VS also will not allow me to use the image editor toolbar to change this. I would like to know if anyone knows how i can edit the image via...

Debugging lambda expressions in Visual Studio 2008

Do you know a Visual Studio 2008 Addon, which allows the debugging of Lambda expressions (in the Watch window)? ...

Fast sub-pixel laser dot detection

I am using XNA to build a project where I can draw "graffiti" on my wall using an LCD projector and a monochrome camera that is filtered to see only hand held laser dot pointers. I want to use any number of laser pointers -- don't really care about differentiating them at this point. The wall is 10' x 10', and the camera is only 640x480...

How to add date into C# snippet

I would like to add to my c# Visual C# Express (no macros) snippet current date and time tag. How to do it? When I will use intellisense to create code with this snippet I would like to have current date and time put into code. ...

c# excel zoom in and out button

hi i have a c# program which creates a ribbon on excel-2007, on that ribbon i have two buttons one for zoom in and other for zoom out. my question is how is it possible so that when i press one of the above buttons and then select the cell or range on a sheet that cell or range will be zoomed in or out? my problem is i do not know how ...

Why are doubles added incorrectly in a specific Visual Studio 2008 project?

Trying to port java code to C++ I've stumbled over some weird behaviour. I can't get double addition to work (even though compiler option /fp:strict which means "correct" floating point math is set in Visual Studio 2008). double a = 0.4; /* a: 0.40000000000000002, correct */ double b = 0.0 + 0.4; /* b: 0.40000000596046448, incorrect (0...

C# Visual Studio Code Validation

I once remember seeing an addon or something for VS2008. It was provided by Microsoft and was part of best practices. Basically each time the project builds it checks your code to make sure all properties have comments, etc. Please could someone help me remember what it was called? ...