visual-studio

Set visual studio compile flags to run solution thru' command line

I have a Visual studio solution which I need to run using the command line devenv.exe I need to set the enable C++ exception to SEH and also the linker > System > Subsystem to Console. It will be a console application. Also I need to set a preprocessor flag. I tried doing Set CL=/DTEST_NODE;/EHa;/SUBSYSTEM:CONSOLE Devenv.exe /build...

How to change DisableFastUpToDateCheck in VS 2008

How can I set the DisableFastUpToDateCheck to True in VS2008. Where can I find that property.? Or where I'm I supposed to add that property? Also where is the project build target (which can be configured to Mixed Platforms) property? ...

Embedded Assembly Files in Visual Studio

I'll make this short and to the point. The _asm block has been completely stripped when creating 64 bit code in Visual Studio. My question is, where can I find some information on how to use assembly in some code that I can call from my project. Like an assembly file I suppose that has some "optimized" function in which I can call direct...

PDB file from different versions of Visual Studio

I have an old DLL file which was built with VC++ 6. Now I need to investigate the dump file but I don't have its PDB available. The stacktrace reported by WinDbg is also inaccurate. Is it possible to rebuild the project with later versions of Visual Studio i.e. 2003, 2005, 2008, have the PDB generated, and use this to map addresses to ...

Force exceptions language in English

My Visual Studio 2005 is a French one, installed on a French OS. All the exceptions I receive during debug or runtime I obtain also in French. Can I however do something that the exceptions messages be in English? For goggling, discussing etc. I tried the following: Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US"); t...

Debug-only classes and resources in visual studio - is it possible?

Is it possible to add a class to a project in Visual Studio and have that class only built for the Debug configuration of the project? That is, it will not appear in the Release build at all. If it is possible, is it also possible to do the same for resources? I'm thinking specifically about test classes that are only run in the Debug ...

Strange problem with VSS: VSS doesn't work after 5 p.m.

I have a very strange problem with Visual Source Safe. I use VSS as a add-on with VS 2008 in a corporate intranet with 5 other colleagues. My VS stops working after 5 p.m. most of days with complaining can not connect Source Safe. I'm running VS 2008 and VSS 2005 on Vista and no other one in corporate have such a problem. What do you th...

How can I set my VIM color scheme to the same default color scheme in Visual Studio?

Very new to VIM so any explanation on how to configure would be very appreciated. ...

Storing source files outside project file directory in Visual Studio C++ 2009

Visual Studio projects assumes all files belonging to the project are situated in the same directory as the project file, or one underneath it. For a particular project (in the non-Visual Studio sense) this is not what I want. I want to store the MSVC-specific files in another folder, because there might be other ways to build the appli...

access Gridview attributes in javascript

I want to change the font size of my gridview in javascript because i am creating a printable version. How can I change the font size in javascript for the gridview? ...

Designer Popup Editor Issue

Hello, In a custom toolset I have installed for Visual Studio, there is a popup window that should appear to me so that I can manipulate one of the lists (an in-built editor). The component is Telerik, but I don't think that has anything to do with it (maybe). The popup window is no longer popping up to me. I wonder if it got minimiz...

From MinGW static library (.a) to Visual Studio static library (.lib)

I'm trying to use xlsLib (http://xlslib.sourceforge.net/) for creating Excel spreadsheets from a C++ application. The trouble is that compiling xlsLib, I give a .a file (a GCC static library, generated by MinGW). But, my application depends on another API (PhysX) that only compiles with Visual Studio. Thus: is it possible to transform th...

Best Way To Create C# Installer

I use Visual C# 2008 Express Edition. I would like to be able to create an installer for a project I have. I can kind of do it with the Publish tool, but you get little to no control. Is there a free way to do this, or do I need to spring for the full-blown version of VS2008? -or- Do I just not know what I am doing when publishing? ...

What do I need to do to set up Visual Studio to be able to manipulate an Excel File?

Let's say I want to find the value of a cell in an Excel file. In VBA, I would do this: Dim varValue As Variant Dim wb As Workbook Dim ws As Worksheet Set wb = ThisWorkbook Set ws = wb.Worksheets("Sheet1") varValue = ws.Range("A1").Value How do I set up a Visual Studio project so I can access and modify an Excel file in C# rather tha...

How to send info to LCD from web

I have seen applications capable of sending information to Logitech LCD panels and played with that a bit a few years ago. Currently, I have four small LCD panels. Two are CrystalFontz 633s, one came from a 1U EMC data storage box and one was taken from an old ethernet-based KVM, so I've no idea what it's capabilities are. Using eithe...

My.Resources in Class Library not behaving as expected when deployed

ASP.NET application w/CSLA framework; Visual Studio 2008 I have a class library of business objects. I am storing the broken rules strings in the Resource file associated with the project (My Projects > Resources.resx). I added a new resx file to the project and named it Resources.fr-CA.resx to store the french language equivalents of t...

Do I really need cmake to create CGAL/compiler_config.h?

I'm installing CGAL 3.5.1. To compile any part of it, I need CGAL/compiler_config.h, which, according to the manual, I have to generate by running cmake. Do I really need to download and run cmake, or is there a simpler way? I'm using Visual Studio 2005 on x64 Windows. So maybe I can download a ready config for this combination, or read...

C# How can false == true ? See Picture

I just ran into one of the most mind boggling errors ever. false == true What information would you guys need to confirm/debug this behavior? I've never seen anything like it. VS2008 sp1 Debug Mode | Any Cpu IIS 7.5 Edit: I did a clean->rebuild and still the same. Here's the assembly and registers. I don't know how to read t...

"breakpoint will not currently be hit" in asp.net

(A colleague helped me answer this so I will post the question and answer...) When I try to debug an ASP.NET app, I am getting "The breakpoint will not currently be hit. The source code is different then the original version" and no matter what I do or how many times I build, kill the web server, kill the browser, restart Visual Studio...

how to clean one projectfile with devenv?

How can I clean a single vc project file? I tried this: devenv SolutionName.sln /Clean SolnConfigName The\Path\to\the\FileToClean.vcproj but it dosn't work. How can I do it? thanks ...