visual-studio-2010

"Tabify" all files in Visual Studio solution?

There's a "tabify" command in Edit > Advanced > Tabify Selected Lines (and the Power Tools 2010 also provide this functionality on a per-file basis) but is there a way to do this for all code files in a solution? ReSharper has a Clean Up command but the only half-suitable option I found there is to run formatting on all files which does...

How can specific type details be filtered from Dia2Dump ?

Hello, I need to filter details of specific Type(i.e Custom Type) . DIA2Dump blindly dump everything as type. I need to give it specific custom type as string and as result need all data members(i.e data section of that class). Is there any specific function available in DIA SDK for this. say I have Custom type MyClass and it has 4 v...

Data-Tier Projects and Linked Servers

I'm trying to use a Data-Tier application involving a linked server and running into an odd problem. Here's what I have: 1) A VS2010 solution which includes a Data-Tier project. 2) The Data-Tier project targets an SQL 2008 R2 server. 3) The SQL server has a working linked server connection to an Oracle database. 4) Views within the ...

Dynamic URL for Service Reference in visual Studio 2010

I am writing a Silverlight 3 application, this app uses a service reference to connect to a SharePoint site by using Sharepoint Lists.asmx web service Now i want to install my app on different servers, and i want my app to use the weBservice of the server on which it is installed (without me specifying it). In Vs2005, we used to specify...

Assembly version from command line ?

Does it exist a ms tool to get the assembly version of a dll from a command line ? (I know that I can code my own tool) ...

difference between visual studio 208 and visual studio 2010

Possible Duplicate: Whats the compelling reason to upgrade to Visual Studio 2010 from VS2008? what is main difference between visual studio 2008 and visual studio 2010? ...

How can I determine whether or not to add project items using IWizard?

Hi, I am generating entity wrappers in VS2010 based on dynamic objects in a CRM system. In addition to the entity code, I want to add an EntityBase of which all entities inherit from. If the file exists in the project from before, it should not be added. I am using an IWizard implementation to give the generator the object names etc. Is...

Trouble with an depreciated constructor visual basic visual studio 2010

My goal is to print labels with barcodes and a date stamp from an entry to a zebra TLP 2844 when the user clicks the ok button/hits enter. i found what i think might be the code for this from zebras site and have been integrating it into my program but part of it is depreciated and i cant quite figure out how to update it. below is what ...

Re-add missing project without having to re-add it to all projects referencing it

Lets say you open a .NET solution (mine being VS 2010) after you just moved your entire folder to some new location locally. Now one of the projects that was being referenced in that solution is not there and so when you launch VS, it naturally tells you that the project is missing and therefore as always you see the project greyed out ...

Get Process ID of Program Started with C# Process.Start

Thanks in advance for all of your help! I am currently developing a program in C# 2010 that launches PLink (Putty) to create a SSH Tunnel. I am trying to make the program able to keep track of each tunnel that is open so a user may terminate those instances that are no longer needed. I am currently using System.Diagnostics.Process.Start...

Is VS what's the name of the dropdowns with classes, functions, etc under the tabs?

I am developing an extension, and I need to read the value of these two dropdowns, but I don't know what they are called. Any idea or guess? ...

Best Way To Save Data::Visual C# 2010

In advance, thank you for all of your advice... So I am building a C# app that will save SSH connection settings for users. It kind of resembles Putty allowing a user to enter multiple SSH connections. The user will be able to recall these settings for each connection when launched. I have been Googling today to determine the best way ...

Different ASP.NET 4 page contents depending on build type.

Hi All! While working on ASP.NET MVC 2 web site I faced to the following problem. I need to render speacial script on site's master page for Google analytics when building solution for production, but for debug and test builds this script should not be rendered. I've tried to find a way to make it automatically, but was not succeded in ...

Toolbox items in Visual Studio 2010 are not persisting after closing VS and reopening

I'm developing Windows Forms applications and using 3rd party controls(ex:Telerik). Whenever I want to add a new Telerik control to my form I have to do the following. Add a new tab to the Toolbox and name it Telerik. Add Items to the tab (all of the controls in the Telerik namespace) Now, when I close VS2010 and reopen it, the tool...

Obtaining Nearby Wifi In C

I am trying to identify a method for obtaining nearby wifi access points using C in Windows. I am coding in Visual Studio 2010. I have read the necessary documentation but am lacking in guidance on how to implement code that would accomplish this. I am specifically interested in obtaining the MAC address of nearby access points or at a ...

VB 2010 Express - Review Order Form

My current project is to write a program that basically is a cash register for a pizza company. The user enters the pizza, along with toppings, drinks, and sides. I want to add a "Review Order Form" for when the user decides to check out. The form will pop up and inform the user of everything he/she has ordered. From there the user ma...

Visual Studio 2010 Not Debugging .NET 2.0 Code

Please stick with me, this is a strange one. Since upgrading from VS2008 to VS2010, some guys at work (and myself) found that we could no longer debug into our code. None of our breakpoints were being hit. Without giving too much away, my work consists of writing .NET apps which run on top of a custom platform application we’ve develop...

VS2010 - How to automatically stop compile on first compile error

{rant}First I'd like to say that this IS NOT A DUPLICATE. I've asked this question previously but it got closed as a duplicate when it isn't. This question is SPECIFIC to VS 2010 and the answers to the so-called duplicate work in VS 2008 but not in VS 2010 (at least not for me or anyone I know). So before you go closing something as a du...

Missing asp.net web application template in Visual Studio 2010

I installed Visual Studio 2010 (ultimate). When I click on New Project-> Visual Basic (or C#)-> Web, the only options i get is AjaxControlExtender, AjaxServerControl and ASP.Net Server Control. How do i get the ASP.Net WebApplication option to show up? Thanks a lot. ...

Visual C# Express 2010: how to set language to C# 2.0

I am using Visual C# Express 2010 to develop an application for the Unity3D game engine, which only supports C# 2.0. That is, I am only using it to edit code, but the compilation is done by Unity. I'm wondering if there is a way to configure Visual C# to edit C# 2.0, so that, for example, it yells if I (out of habit) try to use a var d...