visual-studio-2008

VS2008 targeting .NET 2.0 doesn't stop me from using C# 3 features

I had a VS2005 solution and wanted to get off VS2005 for the new year. I was mostly happy with the upgrade process and pleasantly surprised to see that my build scripts mostly still worked. My question is around the multi-targeting feature - I don't have .NET 3.5 installed on my servers, so I have to continue to target .NET 2.0. That ...

COM+ sniffing/spying, is it possible?

I'm writing a replacement for a Visual Studio Add-In which we've got from a third party. Their Add-In has one function which I'm having trouble replacing however. It interfaces with another program of theirs (which we still need) by starting it, telling it the PID of Visual Studio and letting the other program call back their Visual St...

Can't cleanly install Visual Studio 2008

I had a bare-bones install of Visual Studio 2008 on my computer, which I think I picked up from installing SQL Server 2008. I later installed VS2008 Standard edition, but I couldn't create any new projects (I only had like 1 or 2 unusual options under C#). So I uninstalled all of the VS2008 stuff that wasn't the Standard edition, which a...

how to manage sql server 2008 that came with Visual studio 2008 ?

hi i install visual-studio 2008, part ot the installation is the sql server 2005 express. how i can manage this sql server ? is there any visual tool for making tables ? run queries ? thank's in advance ...

Tasks from Comments don't show up in Task list when project opened on different machine

I have a Visual Studio solution composed of multiple projects which I work on from several different machines using SVN as my versioning solution. I have various additional tasks defined in the Task List settings for my solution but on one particular machine it doesn't automatically find the Tasks when I open the solution. If I manuall...

StyleCop Suppression

Is it possible to suppress StyleCop rules in a more global what... in other words not just using source in-line attributes? ...

Changing the color of a selected CTreeCtrl item?

(VS2008, MFC, feature-pack) Using a CTreeCtrl, I need to have the selected item "better" highlighted when the control looses focus. My Tree is created with the "TVS_SHOWSELALWAYS" option in the resource editor, but the color is not visible enough. I already have code to change the items colors via the custom draw message (NM_CUSTOMDRA...

Issue between Office 2010 and Visual Studio 2008 in ASP.NET?

Not exactly a programming question in the technical sense, but it's impacting my development nonetheless and I'm hoping someone here might have encountered and solved this issue before. I recently got adventurous and installed Office 2010 beta onto my PC here, and I've noticed that Visual Studio has begun to hang whenever I'm editing an...

Visual Studio 2008 C++ dependencies

Hi, i'm developing a C++ simulation (OpenGL) on top of VS2008 enviroment. My current operating system is Windows Vista. The trouble is that when trying to execute the application on a Windows XP machine, my application crashes because incompatibilities beteween DLL's (namely, msvcrt.dll function entry points ) ... Has anyone experienced...

Incompatibilities between compiled Visual Studio 2008 C++ project in Windows Vista running on XP

Has anyone experienced incompatibilities with a C++ project executable compiled with Visual Studio 2008 C++ on Windows Vista when the executable is run on Windows XP? I'm having difficulties on such issue. ...

Access webpage on lan or remote location running on VisualStudio (2008)

I am deving a webpage. For testing purposes i want to access the webpage via my VM and possibly ask a friend to mess with it remotely. The app is running in visual studios 2008. I put set my router DMZ to my IP address and i tried connecting via VM and remotely. No luck. How do i config visual studios to listen outside of the machine? ...

error LNK2019: unresolved external symbol

Ok, so I'm having a problem trying figure out the problem in my code. I have a lot of code so I'm only going to post the relevant parts that are messing up when I compile. I have the following function inside of a class and it will compile and everything will run fine until I call the function "CalculateProbabilityResults" and it runs th...

linker errors with openssl on VS 2008

I installed the openssl 0.9.8l and added the include and library paths to the VS directories. (I have done this before when installing boost libraries). But i continue to get linker errors. Anyway i can resolve the same. errors are as follows Error 1 error LNK2019: unresolved external symbol _BN_free referenced in function _main R...

How to create a single executable file in Visual Studio 2008 ?

Hi, I've created a Windows Forms Application in Visual Studio 2008, .NET 3.5. Now I want to finalize my project, i.e. to create a single .exe file which I can give to someone and he will be able to run it on his computer. In my project files I found bin/Debug directory where I see a .exe file. Can I just use this file as is, or I am mi...

VS2008 SP1 install failing on Vista

I did this before but and it always worked - but now I am installing on my Vista 32 laptop. It goes almost to the end but then fails, here's the log: Exe (C:\Users\JOHN_I~1\AppData\Local\Temp\Microsoft Visual Studio 2008 SP1\VC_x86Runtime.exe) succeeded. Log File: dd_VC_x86RuntimeMSI0AFE.txt Log File: dd_VC_x86RuntimeUI0AFE.txt Exe...

How to run the same testmethods while only changing the dependencies?

I have 5 testmethods that test the functionality of a PasswordManager object.I use the built in test engine of visual studio 2008. This manager can make use of two Dependencies: an XMLStorageManager or a DbStorageManager. The Dependency is set in the Passwordmanager's constructor. How can I run the tests twice with the only difference th...

Crystal Report file deployment from Class Library project

I have a Visual Studio 2008 solution which is multi-layered. In one of those projects (which is not the main project and is actually a Class library) i have a Crystal Report file which i want to be included in the deployment of the application. I tried several settings with no success. How can i achieve deploying this report file with...

PNG, Why is visual studio making me download PNG files?

i write and my page loads it find. When i click on the link instead of having the image show on screen it promps me to download it. Why? How can i make it display in the browser? gif and jpg both display in the browser. -edit- i am using FireFox 3.5 there is no code that serves it, its just a link and the file exist in my folder. The l...

Once I have a database project in Visual Studio, if I edit a stored procedure or view, how do I apply the changes to the server?

Once I have a database project in Visual Studio, if I edit a stored procedure or view, how do I apply the changes to the server? ...

Linker errors even though I prevent them with #ifndef

I am getting linker errors that suggest I am not using #ifndef and #define. 1>TGALoader.obj : error LNK2005: "struct TGA tga" (?tga@@3UTGA@@A) already defined in main.obj 1>TGALoader.obj : error LNK2005: "struct TGAHeader tgaheader" (?tgaheader@@3UTGAHeader@@A) already defined in main.obj 1>TGALoader.obj : error LNK2005...