visual-studio-2008

Automatically stop Visual C++ 2008 build at first compile error?

I know I can compile individual source files, but sometimes -- say, when editing a header file used by many .cpp files -- multiple source files need to be recompiled. That's what Build is for. Default behavior of the "Build" command in VC9 (Visual C++ 2008) is to attempt to compile all files that need it. Sometimes this just results i...

Sounds for build error/success in Visual C++?

On long Visual C++ builds, it would be really helpful to hear some sort of (optional) sounds for such build/compile results as: individual compile error file compile success/failure build success/failure batch build success/failure Does anyone know how to enable sounds for these kinds of build occurrences in Visual C++ (especially Vi...

How do I find the number of references that exist for a particular object?

I have a bit of code that passes around a ton of objects and I want to determine if there are any references still lingering around that I am unaware of and where it is those references are located. Any idea of how I can do this? My understanding is that the watch window only allows me to see items available to the currently executing ...

DragDrop registration did not succeed.

System.InvalidOperationException: DragDrop registration did not succeed. ---> System.Threading.ThreadStateException: What does this exception mean? I get it at this line trying to add a panel to a panel at runtime... splitReport.Panel1.Controls.Add(ChartPanel); Working in VS2008 C# ...

Prevent visual studio creating browse info (.ncb) files

Is there a way to prevent VS2008 creating browse info file files for C++ projects. I rarely use the class browser and it isn't worth the time it takes to recreate it after every build, especially since it runs even if the build failed. EDIT - it's also needed for go to declaration/definition ...

Visual Studio 2008 Properties Window SLOW

Even after all the hotfixes and updates that are supposed to fix this, my properties window in Visual Studio 2008 is still SLOW! What happens is a click on a table cell or something similar in the web editor, and regardless of the size of the page I'm working on, it takes a second or two for the properties window to show the properties ...

Can I do a conditional compile based on compiler version?

I am maintaining .net 1.1 and .net 3.5 c# code at once. For this purpose I created two csproject files, one for .net 1.1 and another for .net 3.5. Now, in my source code I am adding new features that are only available in .net 3.5 version, but I also want the code to compile in VS 2003, without the new features. Is there anyway to do a ...

In Visual Studio, when would I want to use the Test View?

For managing unit tests in Visual Studio, I use the Test List Editor. There's also a Test View which looks similar but more limited. When would I want to use the Test View as opposed to the Test List Editor or any of the other test windows? ...

permission in studio 2008 reports.

Hi, I have succesfully added a custom assembly, added it to the report using AddTrustedCodeModuleInCurrentAppDomain. I am executing the report in the current appdomin. When I try to access SQL I get reporting services System.Data.SqlClient.SqlClientPermission failed. I have tried adding System.Data to the trusted assemblies as above bu...

Any way to automatically wrap comments at column 80 in Visual Studio 2008? ..or display where column 80 is?

Is there any way to automatically wrap comments at the 80-column boundary as you type them? ..or failing that, any way to display a faint line at the coulmn 80 boundary to make wrapping them manually a little easier? Several other IDEs I use have one or other of those functions and it makes writing comments that wrap in sensible places ...

"Show All Files" option missing in VS Database Project

The VS Database Project does not seem to have the "Show All Files" option in the Solution Explorer. Does anyone know of a way to turn the option on in VS? The "Show All Files" option on the solution explorer actually does two things. With the option selected, VS shows "hidden/nested" files within the project AND it shows files within ...

Crystal Report 10.5 [included with Visual Studio 2008] Selection by Image column

Hi I have an Image column (Allow Null = true) in SQL Server 2005. I am using Crystal Reports designer (ver 10.5) that comes with Visual Studio 2008. Crystal sees the column as blob field and puts an image object for the column. When I am trying to limit the record selection by using NOT ISNULL({Employee.Picture}) as Selection Fo...

Visual Studio 2008 source control for small teams

I work on a small web team where I am the only .NET developer currently using Visual Studio 2008 Professional to build and maintain a few web applications. I am about to start training another member of our team so we purchased him a copy of Visual Studio 2008 Professional. I've looked into Visual Source Safe, but I'm dubious. I don't ...

Visual Studio Express Edition to get a MCTS Certification?

I'll teach in a 3 month course about the basis of .NET Framework, do you think that the Visual Studio Express Edition (both C# and Web development) are sufficient for learning or I need to buy a complete edition license for each guy involved (actually an EDU edition)? ...

What do 'Delimiter' and 'InheritsFromParent' attributes mean in .vsprops files?

I can't seem to find any useful documentation from Microsoft about how one would use the Delimiter and InheritsFromParent attributes in the UserMacro element when defining user Macros in .vsprops property sheet files for Visual Studio. Here's sample usage: <UserMacro Name="INCLUDEPATH" Value="$(VCROOT)\Inc" InheritsFromParent="TRUE...

Visual Studio 2008 Express MFC Support

As may be known by many, the Express versions of Visual Studio 2008 don't include support for MFC and a few other packages required to compile a lot of windows programs. So, here's my problem: I have the full version of Visual Studio 2005. I've been using this to compile a project that a friend of mine was working on, so that I could ...

Does A#.Net work in Visual Studio 2008?

As per the title. For those who don't know, it's basically Ada for .Net. ...

Whats the default intellisense shortcut in vs2008?

I'd like to open the intelligence window without typing a character and then backspacing it. I can't seem to remember the shortcut for this. What is it? thnx ...

What is the first thing you do when you install Visual Studio?

What is the first thing you do when you install Visual Studio? I am talking about anything customization-wise (so we don't get answers based on 'I create a new project'). Do you have a favorite font? Do you have a must have extension you couldn't possibly live without? Do you have a keyboard shortcut you like to set? I am interest...

Snippets for C++ in VS2008

Does someone know of any port to VS2008 of the support for snippets for C++? VS2005 had a nice enhancement pack: Microsoft Visual Studio 2005 IDE Enhancements But the snippets for C++ feature is not supported in VS2008. I already tryed to use the SDK to reimplement it but gave up out of lack of time since are a huge number of Language...