visual-studio-2008

Visual Studio Debugger - Automatic Variable Assignment

I am working on a multi-developer project and the application being developed is launcher through a launcher application which passes parameters such as the user logged in, their location, etc. Right now when I debug the application I set a breakpoint on the code that parses the input parameters and I assign the username variable my user...

What is the most memory Visual Studio can use on a 32bit Windows Server 2003 OS?

It is well known that on XP Pro the whole OS can only use 3GB. On 32 Bit Windows Server 2003 the limits are higher. How much can visual studio address and use if the OS isn't imposing artificial constraints? Background. I have 4GB, use Resharper, get lots of out of memory errors and I'm wondering if throwing more hardware at the proble...

FileUpload asp.net

I want to force my user to only search in a particular folder when using the fileupload control. Is that possible? ...

.NET Graphics Image

Good Day, I have several images that I want to place in a windows form. The images themselves are 85 x 85. Each image has a white background with a cylinder object (of varying sizes) that can be located at any location of the image. For example: Image 1: 85w x 85h has a cylinder image at: (25, 35) from the top left corner Image 2: 8...

How to stop a Visual Studio 2008 project compile from updating dependent web application projects?

I just upgraded a solution from .NET 2/Visual Studio 2005 to .NET 3.5/Visual Studio 2008. I have a Web Application Project "W" that has a project reference to a class library project "C". When I build "W", "C" is compiled and copied local, and all is good. However, if I make a change to C, or build C with a different configuration, an...

Asp.net mvc view engine - to roll my own intellisense

I'm creating a little special purpose view engine for asp.net mvc. That goes well enough. But i've been looking around to find information on how to somehow add intellisense for the C# code embedded in my view. I can see Spark does that, but going through the sources, I still can't see how. And WebForms view engine does it - not surpri...

Thumbnails asp.net

I am trying to write an application that allows a user to click a button to see images as thumbnails from a folder in a modal popup. Inside of my modal popup I have a datalist. But from there I don't know where to go. I've already tried the 4guysfromrolla solution but it wasn't what I was looking for. How can I set up images as thumbnail...

MSBuild Error: The attribute "Remove" in element <ProjectReference> is unrecognized

I'm attempting to setup a .csproj file to have a conditional item group which will remove all of the elements in the <ProjectReference> item group. For example: <ItemGroup> <ProjectReference Include="..\..\..\..\Projects\Registrar\Ucsb.Sa.Registrar.Common\Ucsb.Sa.Registrar.Common\Ucsb.Sa.Registrar.Common.csproj"> <Project>{1ED...

VS 2008 SP1/SQL SERVER 2008 SP1/TFS setup PROBLEM!!

I about to pull my hair out if i have to re install everything again! I've installed Visual Studio 2008 SP1 then TFS and when I try to install SQL Server 2008 there is an error message telling me to install the SP1 of Visual Studio. After a quick look on Google and SO, I've found the mysterious problem of TFS not being tagged as SP1 w...

Problem Converting Web To Web Project In VS2008

I have converted my old VS2008 Website to Web Application, now everything was working before I tried to convert it. But now I don't seem to be able to reference my Classes? For example I have a BasePage class that every .aspx page inherits like so public partial class SomePageName : BasePage { } But now I get this message? And the s...

Why does cassini start when I run a unittest in VS2008?

I'm trying to test a class (a controller) that doesn't need to run inside the asp.net environment. But when I run the test, cassini starts. How can I avoid the cassini load? Thanks ...

How can I get the color options for VS.Php working?

Hello, Recently I installed a Visual Studio 2008 extension called VS.Php, made by Jcx Software: http://www.jcxsoftware.com/vs.php It looks brilliant; IntelliSense and debugging for PHP! A godsend! Unfortunately, it assumes I have a white background in Visual Studio, but I have the hacker style "black terminal with green text", which m...

How to add an ISAPI extension to a ASP.Net development iis server?

Hi all, Because of a CMS software that I'm using I need to add a ".*" ISAPI extension to my IIS (pointing to aspnet_isapi.dll). What I would like to do is to have the ability to add a ISAPI extension to my VS IIS server as well, so that I can test my webapp locally instead of deploying it to the server all the time. Is it possible to ...

Finding columns that do not match existing primary key

I'm trying to add a Foreign Key to a table, but database, Sql Server 2005, does not like it. It says that columns do not match an existing primary key or unique constraint. How can I find the columns in question so I can delete/change them and add the foreign key? ...

How to compile open source framework in Visual Studio C++, that has "makefile" only and no solution file?

How to compile open source framework in Visual Studio C++, that has "makefile" only and no solution file? ...

Why does Visual Studio recompile non dirty projects?

I have a solution with a couple of projects with inter dependencies. When I make a change in a project and recompile, Visual Studio recompiles all projects, regardless of whether I changed them (or any of their precedents) or not. I am using only C# projects. I tried cleaning the output - no change. I checked the dates of my files - n...

inserting own image on excel through c#

Hi i have the following code... where i generate my own image and paste in to excel worksheet, please can you tell me why its background color is always BLUE? is it possible somehow to change that for example to make it transparent or white? (i tried flag.MakeTransparent(); but it also does not work) Bitmap flag = new Bitmap(200,...

in VS2008, where do I configure the "Platform Target" for a (managed) C++ project?

In VS2008, I can specify that a C# assembly should target only the x86 platform by going to the project properties, clicking the "Build" section, and then setting the "Platform target" box. What is the equivalent for an assembly written in C++? ...

Visual Studio 2008 - Images copied in explorer do not show up in Solution Explorer

I have created a new folder in my project, aptly named 'images'. I have copy and pasted my images into the folder via explorer, but how do I get them to show up in studio, so when I do img tags or whatever I get the src... dropdown and I can navigate to the image that I want? Ok, I have followed the advice and now have the folder and al...

is there a plugin for VS2008 that makes it use normal regexs for find/replace?

Re: http://www.codinghorror.com/blog/archives/000633.html Is there a plugin that turns VS2008's non-standard regex find/replace into a more standard version? I didn't find one when I googled for it, so my hopes are not high for this. I hate hate hate having to build a regex in my head and then have to think, "oh, I guess I need to refac...