Visual Studio 2010 is the version of Microsoft's Visual Studio line of development environments. It is released on top of .NET 4.0 Framework.

learn more… | top users | synonyms

-3
votes
0answers
14 views

How to read Date/Time from Excel (*.xlsm) in Visual Basic [migrated]

Wloginapp(FIndex) = worksheet.Cells(FIndex + 9, 10).Value Working fine for strings but when I have date and time, I have no results. Dim Wdata(255) As Date' Wdata(FIndex) = worksheet.Cells(FIndex + ...
1
vote
2answers
231 views

Need help with deciding elements for icon creating application

I'm trying to practice programing by creating a simple application which, I think, I can manage to do in .Net C# in Visual Studio 2010. I'm working on simple application which will let me to create ...
18
votes
1answer
10k views

How to set up Unit Testing in Visual Studio 2010? [closed]

I'm doing my first big project and I don't have a lot of experience in a professional programming environment. While researching anything programming-related I often see references to Unit Testing, ...
0
votes
0answers
43 views

Use vb.net sql reader as a Delegate to gather Data

Is there a way to use a sub to create a loop, but change the content of the inside of the loop? I don't know what I don't know. I keep looking at this code and I have a feeling that it's possible. ...
4
votes
1answer
403 views

specification regarding a text file

I have a specification I need to follow (for a little project) and I want to ask if they my way of thinking on how to tackle this spec is correct. It's regarding C#. Specification: consume a TEXT ...
2
votes
6answers
31k views

Reporting in Visual Studio 2010 Express [closed]

I want to download Visual Studio 2010 Express Edition to learn all that is new in it. I find it insufficient as there is no Crystal Reports integration in it. Apart from that I want to learn other ...
2
votes
4answers
9k views

How to Console.WriteLine from [TestMethod]?

I am trying to show some information from a [TestMethod] method. Usually we use NUnit and a line with Console.WriteLine runs fine and we can see it in 'output' window, but on this project we must to ...
1
vote
2answers
498 views

How do you regularly take advantage of VS2010's multi monitor support? [closed]

Although I like VS2010's multi monitor support, I seem to have too many accidental window drags, where I unsnap a window without intending to. This behavior has made me still live in the mental model ...
4
votes
2answers
367 views

Can a Code Review help in learning the code-flow and/or technology of a large code-base? [closed]

I'm new to VC++, and so am not very familiar with COM, ActiveX, IDL etc. When I mentioned this to my tech-lead, he assigned me the task of doing the code review of files he felt were important, in ...
13
votes
4answers
4k views

Shortcomings of using dynamic types in C#

I have been recently studying more on the dynamic types in C#. With some examples I understood once the code is compiled, it does not need to be recompiled again but can be executed directly. I feel ...
5
votes
2answers
8k views

Which language was used to create Visual Studio 2010? [closed]

In order to produce a plug in and incorporate it (merge) easily with Visual Studio 2010. I was wondering which language was used by Microsoft to create it? In order to offer our product to ...
2
votes
1answer
489 views

is there any way to copy the “Work Item Type” diagram in TFS?

I used the Process Editor (from TFS Power Tools) to update the Workflow diagram of a particular Work Item Type (viz., the "Issue" type). There are a dozen other projects on our server that share the ...
4
votes
2answers
765 views

Build times for small incremental changes to C# Web Applications

I have recently been moving away from ASP.NET Websites in favor of Web Applications. More specifically I have recently been picking up MVC as an alternative to developing ASP.NET Forms websites. ...
2
votes
0answers
224 views

Are there any concerns with one user mapping a TFS project to two directories?

I'm planning to map some of my TFS projects to two different directories as discussed here. I'll be using two different workspaces, both with the same Computer and the same Owner. Is there any ...
10
votes
3answers
13k views

Why doesn't Visual Studio auto increment your version number? [closed]

This question asked how to auto update version number in VS 2010 : http://stackoverflow.com/questions/4025704/publishing-in-net-produces-application-files-myapp-someversionnumber-how-to-ge The ...
59
votes
16answers
6k views

Is inconsistent formatting a sign of a sloppy programmer?

I understand that everyone has their own style of programming and that you should be able to read other people's styles and accept it for what it is. However, would one be considered a sloppy ...
1
vote
1answer
135 views

Visual Studio DBProjects and problem with it running post-build SQL (file too big)

What I am doing is creating a DBProject.. importing a DB.. then creating scripts in the PostBuild that are DATA scripts for each table (so that the post build can populate the tables after the schema ...
5
votes
1answer
738 views

Can I use Visual Studio 2010 Architectural features to enforce design on code, without feature packs?

I am studying Visual Studio 2010's architectural tools for application lifecycle management. After we have sketched some modeling diagrams, we wonder now how should be the natural workflow to convert ...
0
votes
3answers
449 views

Keeping SQL Server DB Up to date in Team environment [duplicate]

We are working in a Visual Studio Environment using TFS. When developers get the latest source code it includes a copy of the 'update' sql scripts for the database of the application. The challenge ...
4
votes
1answer
12k views

How to prevent my executable being treated from AV like bad or virus?

I'm creating a piece of software, that will run on windows and will act like launcher for the game, to serve as an auto-updater and file verifier in client siede PC. One thing I don't understand, why ...
18
votes
21answers
880 views

How do you remember where in your code you want to continue next time? [closed]

When you interrupt the work on some code (be it because you have to work on something else or go on vacation or simply because it is the end of the day), once you close that Visual Studio project, ...
1
vote
3answers
1k views

Creating a line of business application with Visual Studio Isolated Shell

I ask this to the pros out there - Is it feasible to build a new LOB(Line Of Business) application with VS Shell as an stand alone application. There are some points that I thought needs to changed, ...
3
votes
3answers
3k views

How should I structure a solution for a long term project? [closed]

I'm about to create a do-everything dashboard for my team and am still having second thoughts about my project/solution structure. Since this could be a long ongoing project, I want to get the ...
1
vote
3answers
659 views

Making Separate Assemblies For Different Types Of Tests For The Same Component?

I was told by a few members here that splitting up my unit tests into different assemblies for different components is the best way to structure unit tests. Now, I have a few questions about that ...
0
votes
1answer
358 views

FxCop / Code Analysis with VS2010 Ultimate

I've getting some information about this, but I still can find a proper answer, I was asked recently in my company for this : "run a fxcop analysis on that code and tell me the results". Ok, I have ...
2
votes
8answers
5k views

Understanding C++ for windows desktop application

I've been programming C++ for almost a year, and I've written complex programs however there are a couple of programming features of C++ which I didn't cover up (Classes & pointers), however I ...
11
votes
2answers
6k views

How can I keep my visualstudio database project in sync with my database?

I'd like to have my database schema synchronized with my Visual Studio .dbproj database project. Right now, I'm using SSMS for most of my database development work, and I've to manually use the ...
5
votes
5answers
5k views

Learn C++ before/at the same time as C#? [closed]

I'm currently learning C#, but wondering whether it is beneficial to learn some C++ before/at the same time as in order to understand the concepts a little better? I've got a C++ book and it does seem ...
7
votes
6answers
2k views

How can I organize fast and comfortable solution compilation in VS 2010? [closed]

Most of programmers who are involved into development of more or less large project(s) know how annoying the process of compilation can be. There are some other things which are dependent on ...
4
votes
2answers
1k views

How do you write a code analysis & refactoring tool to interface with Visual Studio?

Recently while working on a project of mine and doing some refactoring I got an idea to write a custom tool to help me analyze my code in a very specific context and perform some very custom ...
8
votes
4answers
5k views

Increase Performance of VS 2010 by using a SSD [closed]

After searching on the internet for performance improvements when using Visual Studio 2010 with a solid state hard drive, I heard a lot of different opinions. A lot of people said that there isn't ...
4
votes
2answers
292 views

Workflow of sharing code for small teams

Problem is, we have developed a small CMS, that is different per implementation (currently). Of course development of this is never complete. Sometimes, we are working on more than one project that ...
3
votes
2answers
1k views

Piece of code for interview debugging abilities test? [closed]

May be someone has a piece of code, that would work as a test for debugging abilities? We will give ability to use Visual Studio, so it should be hardly solvable by doing manual tracing and show us, ...
3
votes
2answers
1k views

Visual Web Developer 2010 Express, automated testing, and SVN

We have an HTML designer who is not a developer but needs to modify .aspx files from our ASP.NET 2.0 projects from time to time in order to get CSS to work properly with them. Currently, this ...
2
votes
4answers
360 views

The most important advice to a non-professional programmer [closed]

As an adjunct to my regular job (teaching) I have taken on the task of developing an appointment booking system to be deployed on the school's server (SQL Server 2008 R2 / IIS 7.5). I have been ...
3
votes
1answer
1k views

What is an inconsistent state?

I've been trying to experiment with coded user interface testing (CUITS) lately and I get the following error whenever I try to create one. The following package failed to load: C:\Users[File Path ...
4
votes
1answer
5k views

Is Visual Studio Express suitable for commercial application development? [closed]

If I were to develop a Silverlight game and publish it to a site where you can play it for free is the use considered to be commercial or personal? What about if the site has adverts on, is it then ...
2
votes
3answers
7k views

SQL Server CE 4, graphical tools for designing tables, etc.?

I thought that Visual Studio 2010 SP1 would include support for using SQL Server Compact Edition 4 inside the designer, but it seems not. Was I wrong, or has I managed to botch up my installation ...
2
votes
1answer
1k views

Project management tool built into visual studio [closed]

My friend and I are working on a project together in visual studio, and we are using subversion for source control. We have used php based project management tools before for task and bug tracking, ...
4
votes
2answers
277 views

Is kick-starting myself into the programming world by reading from a book about VS 2008 & .NET 3.5 a bad idea?

Basically what the title says. I'm completely new to programming and decided C# to be the best language to start learning, so I went ahead and installed Visual Studio Express 2010 C# to get started. ...
0
votes
1answer
169 views

How can I control Visual Studio's window creation behavior?

I have recently installed Visual Studio 2010. By default it has a nice layout, and when I open files, the tabbed windows for those files appear where I like them to appear: source code on the upper ...
4
votes
1answer
78 views

Reports from the front lines: VS Lab Management

I'm looking into Lab Management right now for our test environment for manual and automated testing. I'm just getting started on the process of putting together various servers to host/support it and ...
19
votes
11answers
5k views

How does one meaningfully measure maintainability?

Context: I'm an enterprise developer in an all-MS shop. Can anyone recommend a good way of objectively measuring maintainability of a piece of code or an application? Why maintainability: I'm tired ...
2
votes
3answers
303 views

What is the Most Expedient Way to Make Legacy Code Conform to 'The Principle of Proximity'?

On page 242 of Code Complete 2, Steve McConnell touts The Principle of Proximity. Put simply, Mr. McConnell advises programmers to keep related actions together. In my case, the applicable emphasis ...
1
vote
1answer
196 views

Is there a way to 'package' up my Visual Studio installation so I can easily deploy it on other machines?

I have a number of machines running VS, and each has a slightly different config - display styles, installed plugins, source control extensions, project templates, service packs and so on. Not only ...
0
votes
17answers
7k views

Writing code vs using drag & drop tools [closed]

If you drag & drop, you're letting the editor to build code for you. Surely that means you're not really programming. You're building an application that has no proper code logic, correct? I drag ...
6
votes
5answers
668 views

Visual Studio 2010 SP1 Performance [closed]

I've noticed since installing Visual Studio 2010 SP1 that I'm having huge performance issues. It will randomly freeze up on me quite a bit. I had no performance issues with Visual Studio 2010 before ...
0
votes
1answer
759 views

Visual Studio Load Tests Virtual Users Simulation

I'm currently working on writing a load testing application that takes advantage of Load Test using Visual Studio 2010. The load test will simulate 20 users on the same machine, and I need some data ...
4
votes
2answers
1k views

UI Testing with Visual Studio 2010 Feature Pack 2

One of the most intriguing items in the recently released Visual Studio 2010 Feature Pack 2 is the ability to create and edit UI tests in Silverlight. Here is an example of a coded UI test. I ...
10
votes
4answers
2k views

Best practice with branching source code and application lifecycle

We are a small ISV shop and we usually ship a new version of our products every month. We use Subversion as our code repository and Visual Studio 2010 as our IDE. I am aware a lot of people are ...