visual-studio

Native.* assemblyIdentity with Registration-free com

I set Isolated=true to some COM library that I need to use registration free. Visual studio now created Native.* manifest files for each of my assemblies: Why "Native"? Can I change this? Can someone point me to info I can read? (googling native / assembly / manifest is yield a lot of non-related info ) Is there a way I can embed thes...

Which places I could question about TFS, Visual Studio and ALM?

Hi all, We are going to applying VSTS 2010 in our company. This includes Visual Studio, TFS, TFS Build and ALM. It's predictable that we would encounter a wave of new questions about their usage. But the problem is I don't know which places we could do questioning. StackOverflow is programming base question site and ServerFault is not...

Is it a Microsoft issue?

I have a exe was complied by VC6 and the file name is patch.exe, there is no manifest was added, in that case, the EXE file requires administrator privileges, even though I removed all codes, just keep a empty main(), the result is same. But if I change the EXE from patch.exe to a.exe, the issue is gone. Below is my test result. 1. EXE...

How can I set my deployment options to script the incremental release of a Visual Studio 2010 database project?

I've just started using a VS2010 database project to manage the release of an update to an existing database. I want the deployment option to generate a script that will contain the commands to change my existing database rather than create an entirely new one. E.g I have 10 existing tables - one of which I drop in the new version and ...

Visual Studio Add-In for Grouping Files

I used to have a nice little Visual Studio Add-In that allowed me to group files by simply right clicking on them. It used to modify the csproj file in the background and add the relevant attributes. I have just rebuilt my machine and can't find the add-in anywhere. So just wondered if anyone knows of a similar one? ...

VS: Separating headers from source files?

I know this is completely subjective, but I'm curious: do you use separate filters for headers and source files in your Visual Studio solutions? Visual Studio creates "Header Files" and "Source Files" filters by default. To me, this dichotomy causes more annoyance than anything else. What's your take on this? ...

Visual Studio 2010 - how to add next types in version resource menu?

Hi I switch from VS 2008, to VS 2010, but in VS 2010 I don't have types in "Add version" in resource, like: comments, legaltrademarks, privatebuild, specialbuild. How I can add this types to version on my program in Visual Studio 2010? (in pink I draw what have VS 2008). image: http://i48.tinypic.com/2mzlg5e.jpg BarbieLie28 ...

How to get the value from method in visual basic 6

the code below is showing error after return statement Private Sub Command1_Click() Dim str As String str = display("test") MsgBox (str) End Sub Public Function display(s As String) As String s = "updated" Return s End Function thanks in advance ...

A report of refactoring recommendations

Hi, I'm working on an old site that needs to be optimised, I've installed Refactor! and its coming up with lots of recommendations, including lots of instances where objects aren't disposed off. Is there a way to create a report of these recommendations or another tool that I could use? Thanks, Chris. ...

Disabling security warning caused by BaseIntermediateOutputPath?

Hi all, Our team overrides BaseIntermediateOutputPath (and other related properties) in our Visual Studio projects in order to have build artifacts go outside the main tree. However, this causes an annoying warning dialog to appear when you open a project for the first time in a new location (which happens on new machines, when you che...

Mouse configurable buttons for programming

Different mouse models has been already discussed. But all these mouse got configurable buttons. Has a programmer, how do you set them? I use The Microsoft Intellimouse Optical. So set the Left side button to "Copy" and the Right side button to "Paste". I did not set the Wheel click to anything. I'm curious to see if there is any bet...

What the heck is goin' on with the column Width or Why I do hate rdlc designer in VS...

I can't understand... I put a column into a Tablix in .rdlc designer of VS2010 and defined column's width and even said that it cannot grow. And in the reportViewer when you run app. it gets grown again. Damn it. I replaced every single tag in the file to False - nothing happened, it still takes the width of a prior column. Interesting...

Printing nice looking object graphs in the Visual Studio Debugger

I need to print out an easy to read object graph from Visual Studio because I need to show a customer the state of an object at runtime. Are there any debug visualizers for this? Expanding everything in a quick watch window isn't easy enough for the customer to comprehend. ...

get the selected text of the editor window..visual studio extension

hi i'm making a extension for visual studio and the specific thing that i need is get the selected text of the editor windows for further processing. Someone know what interface or service has this? Previously i need to locate the path of the open solution and for that i ask for a service that implements IVsSolution, so for this other pr...

Combine multiple dataset columns to one dataset

I have multiple datasets that I would like to combine into one. There is a common ID field that can be associated to each row. Calling Merge on the dataset will add additional rows to the dataset, but I would like to combine the additional columns. There are too many fields to do this in one query and therefore would make it unmanagea...

Windows.Forms.MessageBox In Page .aspx

First sorry for the english. I've recently found out that the MessageBox from Windows.Forms can be used in a web page, but there's a problem when showing it, it's not modal. Is there a way to make it modal? Thanks for any help. ...

Newlines in the Immediate Window

Using Visual Studio 2010 Professional, I have a ToString() method that looks like this: public override string ToString() { return "something" + "\n" + "something"; } Because there are several "something"'s and each is long, I'd like to see something something Sadly, I'm seeing "something\nsomething" Is there a way to get wh...

Visual studio project build dependencies with no references?

Is it possible to set a project to force another project to be built, but without having to setup a reference? ...

Visual studio Intellisense parameter summary

Ive used visual studio for years, but the answer this eludes me: When intellisense pops up, for a method call that takes more than one parameter, the summary for the first parameter is shown. The only way i've found to show the summary for the following parameter(s) is to either supply each parameter or just hit comma until i get the on...

C# Web Reference and PHP

I am attempting to call a Web Service (created in PHP) from my C# application. I have successfully added the Web Reference in Visual Studios, however I cannot figure out exactly how to invoke the call to the web service. I have been following this tutorial: http://sanity-free.org/article25.html however when I try and compile I get a "The...