visual-studio

Visual Studio 2008 and 2010 behave differently when referencing assemblies in the file system??

I am seeing a strange phenomenon in Visual Studio 2010. My project setup is this (I inherited this - can't change it any time soon, unfortunately :-(): a Winforms app that uses Crystal Reports X (v10) as its reporting engine; full CR X Developer Edition is installed on my dev box several Webforms apps that use Crystal Reports XI (v11)...

How can I deploy an asp.net application using Visual Studio 2008

I am trying to publish a website using IIS, I made a virtual directory and in this directory I've added all the webpages and configured the virtual directory but still I am not able to run my web application. ...

C99 fenv.h for MS compilers

Anyone know of a decent C99 fenv.h implementation for MS compilers? I imagine this wouldn't be difficult to do; I'm just looking to save some time. ...

Resx Error While Converting From VS2003

Hi, I'm converting a legacy application originally developed using Visual Studio 2003. Now I got stuck with the following error which appears while building the solution: Invalid Resx file. Region name 'cb' is not supported. It doesn't makes much sense to me. I'd appreciate any ideas on how to resolve this problem. Thanks in advanc...

Which database to use locally in a desktop application?

I have two different options using database in a desktop application. I prefer the Service-based database even locally. But should I use the Local database instead? ...

Visual Studio 2010 - files in folders without ../../Include.h

My physical file structure for a project I have is something like: Source folder Engine Folder1 Folder2 etc. I have some files in 'Source', some in 'Engine', some in 'Engine/Folder1', etc. On my project, I have gone All Configurations->Source Directories and included Source, Engine, Engine/Folder2, etc. However, I still get error...

Which version of Visual Studio should I install?

I am going to install Visual Studio. I want to know if the latest version of Visual Studio 2010 is backward compatible with previous versions like VS 2005 and 2008. Or is the code functionality and deploy-ability more dependent on the .NET framework version. I am trying to use a code which will be built into dll. I am not sure in which v...

building ruby on windows 7

I know this has been asked before but I ran into a specific problem. I'm trying to build ruby 1.9.2 rc2 on windows 7. When I run configure.bat it aborts with the following message. cl -nologo -MD rtname.c user32.lib -link > nul NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. I find that the file 'rtname.c' does not exist an...

How can I separate string array via REGEX?

I separated "A320-789-890" according to "-" and i get a list below: "A101C", "B7CL", "E7CL", "D7CL" Everything is ok. My result set above it is my solution result. But i have 2 question: how can I do that with regex? if I can do that with regex, can I use regex with linq? which is more effective according to performance like my meth...

objdump ELF and Windows

Hello, I am fairly new to this subject, that is ELF and any Linux related stuff. I am trying to write an ELF file and would prefer to do it on WinXP. My question is, can this be done with MS Visual Studio including the compilation? As far as my understanding goes, ELF files can not be compiled on Windows OSs. Well, at least that's wha...

How to open a vcproj file from Eclipse CDT ?

I know, the question has already been asked but the answer doesn't meet my requirements. So is there is any way to import a Visual Studio project with all its parameters in Eclipse CDT ? If yes, how could I do that ? If you want to know more details about my situation, there it is : I am joining a rather big collaborative C++ project,...

Is there a 64-bit version of Visual Studio Extensions for WSS 3.0 for Visual Studio 2005?

We have to do some Sharepoint development on a 64-bit machine using Visual Studio 2005. However from initial searches, it looks like 64-bit support was added in a version (1.3 that only supports Visual Studio 2008. When trying to install the 32-bit 1.1 version (the one that works with Visual Studio 2005), it gives an error saying the pa...

How to fix 3rd party libraries that omit the required C runtime lib?

I'm writing an NSIS installer for a project that requires the PyOpenGL package, however installation of this package fails because my system doesn't contain mscvr71.dll (VS C runtime lib). According to KB326922, this library should have been packaged with PyOpenGL. My question is, what is the safest way to correct this so I can install ...

Default Visual Studio 2010 and 2008 font

What is the default font (and it's size) in Visual Studio 2010 and 2008 editor? ...

Static code memory leak detection for visual studio vc++

Hello, is there a way to detect simple memory leaks like this one with a static analysis tool? I cannot change the code to include the tipical includes used in runtime memory leak detection (struc1 is a simple structure with some fields). void noRelease(void) { struc1 *memoryLeak; memoryLeak = (struc1 *) malloc(sizeof struc1);...

Unit testing examples for VS2010 testing tools

I'm looking for sample solution(s) that demonstrate various kinds of unit tests in C# using best practices. Also I require the examples to use the Visual Studio test tools. I know that there are a number of books and web sources on unit testing, but they don’t use the Visual Studio tools for writing their unit tests. I don’t want really...

Resources for excel in Visual studio

I have been tasked to rewrite an old excel workbook that is full of ugly vb macros. It is mostly some simple data entry, and some reporting functionality on top of that. I am not super experienced with Excel, but I can get around. I know that visual studio has project types for excel, but I am not really sure what is possible. I am a c#...

visual-studio Project settings

While updating project settings for different sub-projects under a project, i'm updating settings for each sub-project one after the other. Instead of doing so, can i update the common settings once for all the sub-projects? ...

C++ App Exceeds Memory But Doesn't Use Virtual Memory

I have an application that allocates memory with 'new' and frees them with 'delete' in some parts of the code. The problem is that whenever it exceeds the memory limit of the system (let's say 2GB), Windows sends a Kill signal to the process. I think it is not usual since it should use the swap space(I think in windows it is called virtu...

How to remove intellisense suggestions in Visual Studio?

I recently had a bug in Firefox due to me choosing the wrong script type with intellisense. <script type="text/jscript"> vs <script type="text/javascript"> Is it possible to remove options from intellisense? EDIT: I still want statement completion, just not all the options. ...