visual-studio-2008

Problem with instances in loadbalancer after deplaying ASP.net website.

Hi, I have a problem in the instances of the website in ASP.NET web application. website navigate in the the way Page1-->page2-->Page3-->Page4 and so on.. But in if some value in a drop down box in Page1 with result in the following flow. Page1-->page2-->Page4 But the problem is ... When i stalled it on load balancer. it gives...

Is there a hotkey in Visual Studio to open the member drop down list?

In Visual Studio there is a drop down list in the top right hand corner that you can use to navigate to the various members in the class. Does anyone know if there is a hot key to open this ddl? ...

Resharper code cleanup and blank lines

Is it possible to do something like this: namespace MyNamespace { <-- blank line public class MyClass { <-- blank line public void MyMethod1() { //something } <-- blank line public void MyMethod2() { //something } } } When using Code Cleanup option? Currently it's doing l...

visual studio express versus vs 2008 for my partner

i have been building websites using vs 2008 (mostly asp.net mvc, jquery and webforms). my partner wants to start helping me out but he doesn't have vs 2008. our options are: him to buy vs 2008 him to use vs express (http://www.microsoft.com/express/) i have never used #2, so i wanted to get feedback from anyone on the following: ...

ASP .NET MVC Freezes Visual Studio during new Project Creation

I'm using VS 2008 with SP1, on WinXP Pro, and I successfully installed the MVC package from Microsoft. I start a new project, select the MVC web project type, and give it a name and folder. When I press go it hangs forever. The "ProjectName" folder is created, but nothing else is there. I can create and open all my other projects with...

Debugging on Win7 HyperV VM, get multiple instances of "0xC0000096 Privileged instruction" exceptions

When I debug a large app (with VS2008) that I maintain on a Windows 7 Hyper V VM, it seems that once I hit a breakpoint, VS constantly throws 0xC0000096 Privileged instruction exceptions( or 0x00000005 Access violation reading 0x03A6E7EB). It doesn't seem to matter where the breakpoints are set either. I can do exactly the same things o...

Office Add-In Won't Run After Upgrade

I'm attempting to develop and deploy an in-house add-in for Excel 2003 using Visual Studio 2008. When I first create the project (along with the included Setup project, as well as add a SetSecurity project), everything works and deploys on client machine's flawlessly. I problem starts when I attempt to reopen my solution in Visual Studio...

Error linking with 3rd party static library built with previous version of Visual Studio.

I am working on a project that links to a 3rd party static library (herin refered to as EXTERNALLIB). In Visual Studio 2005 I was able to link to EXTERNALLIB and create a usable executable. Now we are using Visual Studio 2008 and I am receiving the following error: fatal error C1047: The object or library file EXTERNALLIB was created ...

Visual Studio 2008 - Minimap

I'm not really sure what to call the "minimap" feature of a text editor. For example, this editor has what I would call a Minimap feature. A skinny map on the left side where you can click to get to different parts of the file. http://www.sublimetext.com/ Is there a plugin for VS2008 that has this? Thanks ...

Error message "unable to open web site" with VS 2008 on Vista

I am trying to open a project in VS 2008 and my domain account it in the administrator group. I get this message: "Unable to open the Web site 'http://locahost'. To access Web sites on thie local IIS Web server, you must run Visual Studio under an Administrator account in order to have access to the IIS metabase. Alte...

Remove unused references (!= usings) in C# project without Resharper?

Is there any way of removing unused references to assemblies, in a C# project, without the help of Resharper? The MSDN documentation does outline something for Visual Basic, but I couldn't find the same dialogs for C#. ...

error C3867: function call missing argument list

I'm upgrading a game engine's source code from Visual Studio 2003 to Visual Studio 2008. When I try and compile the source code I get the following error. error C3867: 'UObject::StaticConstructor': function call missing argument list; use '&UObject::StaticConstructor' to create a pointer to member in the following code: //----(IMP...

Error HRESULT E_FAIL when pasting references in Visual Studio

I know this isn't a programming question but it is a programming tool question. In Visual Studio 2008 Team Edition (version 9.0 with .NET 3.5 SP1) when I copy and paste references from one csproj to another (with the context menu in the 'Solution Explorer' view) I get the following error: Error HRESULT E_FAIL has been returned from...

How to pick semi-transparent colors during Design-time in VS?

After a quick subclassing of Windows.Forms.Label and then noticing that the default Label is able to use semi-transparent background colors just fine, I wonder whether there is actually a way to pick them in Visual Studio. The Color picker in the property Grid allows me to pick custom, Web and System colors but doesn't allow me to define...

How to get a full stacktrace from a crashed mixed mode exe/dll ?

Hi ! I wrote an application in C++/CLR. It uses a native lib/dll. On rare occasions, it crashes insider this native dll. I then get a stacktrace, but only up to the managed part, the inside native part is left out. Is there a way to let it display the whole stacktrace? I made the following test: I added a line of code inside the native...

Is there a list of Visual Studio environment variables?

Visual Studio has a lot of environment variables like $(TargetFileName) but I can't seem to find a list of all of them on MSDN or via Google. Does such a list exist? ...

visual studio 2008 and c++

During debugging, when I pull up QuickWatch and go copy and paste for example: strlen(str) - 1 It tells me that: strlen(str) - 1 CXX0017: Error: symbol "strlen" not found What do I need to set in Visual Studio to remedy this issue? ...

What would cause ANY .NET application to crash immediately... except a project I create and Debug inside Visual Studio?

My software recently got deployed to a customer who said that the application was crashing immediately after it started. After some initial debugging, the customer provided me remote access to one of the computers which was unable to run the application. I found that the crash wasn't specific to my application. Any application which d...

foreach loop does not loop through all item in list - C#

I have a basic foreach loop that calls a static method which makes a connection to a database and inserts some data. For some reason it will only iterate through the first item in the collection when I run the application without debugging. If I debug the application and set a break point on the foreach loop, it will iterate through al...

C# 2008 Printing to Preexisting Page Template

I'm doing some work for a Laboratory, helping with an application that prints all the tests results. The results are printed on a "pre-printed" form, this is a custom form they had made, I believe they already have several boxes of this form. I need to figure out how to print on top of it and make everything align correctly. Any on...