How do you return an Enum from a setter/getter function?
Currently I have this:
public enum LowerCase
{
a,
b,
}
public enum UpperCase
{
A,
B,
}
public enum Case
{
Upper,
Lower,
}
private Enum _Case;
private Enum _ChosenCase;
public Enum ...
Hi there,
In the start page in VS2008 or any version for that matter is there a way i can get rid of the "Getting Started" and "Visual Studio Headlines" list and have the "Recent Projects" list extend all the way down to the bottom so I can see the last 30 or so projects I have used?
...
I'm using a .xsd file in my Visual Studio 2008 Pro solution and I'm having a problem with the ExecuteMode property of the tableadapter methods resetting. I have created a handful of insert methods in multiple adapters. I use "SELECT SCOPE_IDENTITY()" after the insert SQL to return the id of the new record. I then update the ExecuteMode p...
Hello,
Where can I find a download of Prefast for Visual Studio 2008 ?
I am not able find through Google or MSDN Website.
Thanks and Regards
Praveen
...
Hi.
I'm using subversion and Visual Studio 2008 (and Tortoise)
I've got a number of folders in visual studio projects that I want to rename.
Whenever I've tried this in the past I've ended up with conflicts and had to create my new folder, copy all the existing content in to it, check it in and delete the old folder.
Has anyone come ...
In Visual Studio, VSTS has the functionality to select a set of work items and click a button to open them in Excel, where you can modify them. Then, using the 'Team' ribbon, you can publish changes back to TFS.
We would like to replicate this functionality in a totally different business context. Does anyone know of any sample code or ...
Is there any free tool that improves Intellisense and provides code snippet in vc++ 2008?
Please don't post commercial tools
...
Visual Studio's internal development web-server only listens for connections from the local computer.
Unfortunatly, the web-server only binds to the IPv4 loopback address:
127.0.0.1
On machines with IPv6 enabled (i.e. Windows Vista, Window 7), it does not bind to the IPv6 loopback address:
::1
When you push play in Visual Studio, ...
Hi!
Currently I'm playing around with WPF data binding and I came to an issue I dont understand. So I post the problem here, maybe you have and idea whats geoing wrong.
At first: I'm working with Visual Studio 2008 under Windows Vista 32bit, the problem is also present in Windows 7 RC1 64bit, latest updates/service packs are installed e...
When doing Unit Testing, is there a way to tell the [TestClass()] to execute one [TestMethod()] by one? (Instead of Visual Studio to start multiple thread). This would be required for only one or two of my testing classes.
...
Our current solutions/projects have several classes combined into one file, I'm told this was done due to the slow compile times in VS.
Is this a confirmed problem and solution?
Can we break these apart now that we are using VS2008 Team system? Has anyone else separated the classes into different files and still had good performance?
...
We are facing a very weird situation using Visual Studio 2005:
There is a Web Site project we do have, and VS when compiling the project automagically adds some undesired references, like 'System.Data.Oracle' (we don't use Oracle at all, and never did) and things from asp.net 3.5 (the project is 2.0, we don't use in it anything related ...
Does anyone know of a good way to remove vss source control bindings for a visual studio 2005 and 2008 solution without opening it in visual studio?
I used to use: del /s /f /a: *.*scc
Then when I opened visual studio it would prompt me and give me the option to "permanently remove bindings".
Now when I try this it recreates the .vsssc...
I'm currently researching new source control options for a team of 10 developers. We do .net development in Visual Studio 2008. We currently use VSS for source control.
We are looking for a centralized source control solution(non-distributed), with a nice Visual Studio plugin. My manager has recommended Plastic SCM and I've always hear...
Possible Duplicate:
Return Enum From Function C#
This was originally posted here link but I could not get a suitable reply in the comments field (not enought characters) and could not find another way other than to start again here :(
Firstly thanks to all who replied.
In an attempt to simplify this question, it appears I have...
In a C# desktop application, I have a customer widget which contains a text box. I also have a menu item on a menu strip that has the Delete key as its short-cut key. The behaviour I'm finding is that pressing delete in the text box, which the user will expect to delete a character, is actually triggering the menu item and deleting the...
At some point "Find All References" feature got broken for a single solution that I have. It works in all other solutions. For this one, it always returns "Search found no results"
What could be the problem?
...
I would like to change visual studio's default configurations (Debug,Release).
That is, change the configurations so that all new solutions created will be affected.
How is this possible?
Thanks!
...
I'm developing a C# project which includes a SqlMetal generated file. I'd like to use Code Analysis.
I've turned on "Suppress results from generated code" in the Code Analysis options, but it still reports on the SqlMetal classes. Is there some way to turn this off?
I'm using Visual Studio 2008 and SqlMetal 2.0.50727.3082
...
MVC + classic webforms in the same website
Now I am wondering if it was possible to mix MVC and classic webforms (I don't want to reimplement what I've already done even if this makes the code non-homogeneous...)
Original question
The more I improve my understanding of ASP.NET (and web programming in general) the more I dislike ASP.N...