visual-studio-2008

How to remove paths from tabs in Visual Studio 2008?

Is there a way to stop the path showing in a source code tab in Visual Studio 2008? Currently when developing an ASP.NET site, I get the path from the root plus the filename - truncated when it gets too long. So something like: MyDir/MyPage.aspx for a short path and filename, or: MyDir/MyLong...yPage.aspx for a longer path a...

Design Tab Control with Visual Studio 2008 (without SP1)

Is there any way (maybe directly editing resource files) to configure a Tab Control (add/remove tabs and their captions and contents) at design time with Visual Studio 2008 without SP1 (I heard that SP1 has such feature)? P.S.: I use c++ with wtl ...

Removing border/background from Crystal Report Viewer in Visual Studio 2008

Can someone please explain how to remove the background/borders off an embedded CrystalReportViewer control in Visual Studio 2008. I'm trying to remove the light gray (below the "Crystal Report" heading) and then the darker gray underneath that. I want to be left with only the white box and the report inside this. This is the output I'...

How do I connect to an .mdf (Microsoft SQL Server Database File) in a simple web project?

Specifically, in VS 2008, I want to connect to a data source that you can have by right-clicking on the automatically-generated App_Data folder (an .mdf "database"). Seems easy, and it is once you know how. I just figured out how to do this. I'll post my answer below, which will include the one thing no tutorial on MSDN included that ha...

Help with deploying Crystal Report embedded Visual Studio 2008 website.

I have been trying to get around this error for a day now and have not had much luck. I have a VS 2008 project that uses the embedded Crystal Reports which of course runs fine locally, but when deploying to my remote server the reports will no longer run. I gathered that it was because I didn't have the right Crystal Reports component...

Syntax Highlighting VS Addins

What tools are out there that compete with this product? CodeKana I know ReSharper has improved syntax highlighting. Is it comparable to this? ...

Can I save a FlowDocument to BAML in a programmatic way?

Has anyone found a way to save a FlowDocument as BAML or other compressed format? I can import XML with images to create a new FlowDocument: <TextRange class instance>.Load(fs, DataFormats.Rtf) However, I haven't found a good way to save it in a 'native' compressed format. Uncompressed XAML is easy to generate using: <TextRange cla...

Watch for addition of a referenced library to a project (Visual Studio 2008 plug-in)

I am hoping someone can help me with this. What I have been looking around for but can't seem to find is if there is someway to add an event, or anything else that will allow a visual studio plug-in to watch for an external reference to be added to a currently open solution / project? Or even better yet would anyone happen to know of a...

How do I ignore a GAC reference from Cassini?

I have an assembly in the GAC which gets loaded when I'm debugging a web app. However, I've changed that assembly in the web app that I'm debugging but VS2008/Cassini is picking up the one in the GAC. How do I make VS2008/Cassini use the one that I'm debugging? ...

Is there a way to run an outside executable after a solution is built in Visual Studio 2008?

I'm not talking about a post build event for a project. Rather, I want to run an executable automatically after the entire solution is built. Is there a way to do a post build event for the solution? ...

How do you uninstall Visual Studio 2008 SP1 w/ .Net 3.5 SP1?

What's the best way to uninstall SP1 and return to plain .Net 3.5 with Visual Studio 2008? It broke a few of my programs :( ...

How do I increase the allowed decorated name length in VC9 (MSVC 2008)?

I have a rather large and complex set of programs to port from VC8 to VC9. One of the modules has a number of layered typedefs, which cause the compiler to generate a C4503 warning (decorated name truncated). The generated LIB file will not properly link to other modules in the project. VC8 had no trouble with this, leading me to conclud...

Distribution of Code with Visual Studio Express Products

I installed Visual Studio (Web Developer in this case) Express Edition and was reading through the EULA. One thing that did not jump out at me was what I was allowed to use the software for (private, commercial, etc). Does anyone know if you are allowed to sell/distribute the code you create in these Express editions? I know they are g...

VS2008 Keyboard shortcut Ctrl + . stopped working

The new awesome Ctrl +. keyboard shortcut to show smart tags has suddenly stopped working, a week or so after I discovered it :( I am missing it badly, having had to revert back to Ctrl+Alt+F10, which really just isn't the same. I recently installed F# CTP 1.9.6.2 Has anyone else installed this CTP and still has Ctrl + . Lost Ctrl ...

Percentages of subtotal in a report

I am using Report Designer in VS 2008. Is there a way to display the percentages of a subtotal in a crosstab report? ...

How do you change Visual Studio's default web browser?

This is a for a Silverlight project that isn't anchored to an .aspx file, so right clicking, etc. is a bit out of the question. Any ideas? Edit: Add an .html file, then click it. Really dumb. Last time I ask a question at three in the morning. ...

VS2008 Start Page replacement

I really don't like the VS2008 Start Page. I don't need the RSS reader, Getting started or Headlines. The only thing useful is "Recent Projects" Is there a way to customize it or replace with a better one? It will be nice that the page contains Favorites Projects and Recent projects. P.S. I know that I can disabled it or replace it wit...

Visual Studio and Virus Scan of Temp folder

We are using Visual Studio 2008 as our primary development IDE. Our security team has set up McAfee to scan files in our \Local Settings\Temp folder. Unfortunately VS uses this directory during code builds which is slowing the developers down. We've reached an impasse with the security team on this, and wonder if anyone knows of a con...

VS 2k8 Doesn't Release File Handle After Debugging Stops: Unable to copy file X to output directory because it is being used by another process.

Every once in a while, typically when I stop debugging in our UI assembly, I get the following error which requires a restart of Visual Studio 2008 and it's killing my productivity: Error 13 Unable to copy file [UI assembly] to [output directory]. The process cannot access the file [output directory][UI assembly] because ...

How to get Visual Studio 2008 to edit SSRS 2005 Report Projects w/o Installing SQL Business Intelligence Development Studio 2005?

I'm trying to determine how to open/edit existing SQL Server Reporting Services (SSRS) 2005 report projects (.rptproj) and reports (.rdl) with Visual Studio 2008, without having to install SQL Business Intelligence Development Studio (BIDS) 2005. ...