visual-studio

opening visual studio 2010 solution files in visual studio 2008

How would you open a Visual Studio 2010 .sln file in Visual Studio 2008? Is it possible? Are there any workarounds? ...

Integration of Screenshot Effect in MicroSoft Word 2010

I am impressed alot by the new Microsoft Office 2010 New Feature's. So i am thinking of creating a particular effect in my Own Application Which is Based On Image Processing. Can Anyone help me out how to create Integration of Screenshot Effect which is in MS WORD 2010(Screen Clipping & Remove background of Images). I want to create thi...

How to interpret the callstack of visual studio?

> vcam.ax!CopyMediaType() + 0x49 bytes vcam.ax!CMediaType::Set() + 0x41 bytes vcam.ax!CMediaType::operator=() + 0x2f bytes vcam.ax!CVCamStream::SetFormat(_AMMediaType * pmt=0x00000000) Line 201 C++ FlashPlayer.exe!005641be() Can someone explain the above line by line? ...

How to attach IE/FF to Visual Studio?

Suppose I have a class library cl1 and a unit test for it that is called clt1. I can use Visual Studio's Attach to Process feature to attach to NUnit runner. This lets me debug cl1, for example set break points. It's a very helpful feature for debugging. I'm in a need of this technique in Visual Studio and IE/FF. Suppose I have a web ap...

Design SQL schema in Visual Studio and auto-generate SQL script to create and upgrade database

I don't know much about SQL but this is what I want: Visually design an SQL database schema in Visual Studio Let VS generate a create script for this database Track modifications to my schema and automatically generate upgrade SQL scripts Generate entity classes I can use with WCF (without circular ref problems) Is this possible some...

How to you kill a windows form program other than using x.

How do I kill a windows form application other than clicking the x button. More specifically, I need to close the program from a menu option. I am coding this in c# 2010. ...

Which windows form control is best for presenting data in a tabular fashion?

I need to present the output on the form in rows and columns. Is there a control to make that task easier? I am using visual studio 2010 and coding in C#. ...

How to add comment for an attribute definition from within a tag?

Let's say we have the below code: <Window x:Class="Consus.Client.UI.Sandbox.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary" x:Name="Ribbo...

What's the name of the highlight when you select "Get" and "Return" and "End Get" are highlighted?

Hi, Sorry for the lame question, but I can't think of a decent way to ask. When I have certain text selected, Visual Studio highlights certain other related text. If my caret is within "Get", the "Return" and "End Get" lines are highlighted. If I put the caret within the name of an instance, all references to it are highlighted. "If" h...

how to use J# in vb.net2008

hello, i have used j# in visualstudio2005 and i now upgraded to visualstudio.net2008 and i found that there is no option for j# and do i need to install any thing else please tell me.. ...

Using Visual Studio (Express) as a Script Editor proxy

I'd like to: start a new instance of visual studio set up a project with a bunch of custom references create a single source code file (*.vb and *.cs both need to work) detect changes made to this file (i.e. when Save is used from VS) This will hopefully allow me to provide my users with a good source code editor for when they write ...

Visual Studio 2008 debugger detach

My Visual Studio debugger detaches every time when I try to access a property in a web application. I don't use Visual Studio's inner webserver, just the standard IIS. It seems like that property has somewhere a stack overflow (Server Application Unavailable) , but I can't find it. There is an error message in the EventLog: as...

VS 2005 winforms designer makes unrelated changes to source and resource files.

The Visual Studio 2005 Forms Designer automatically reorders statements in it's generated form.cs.designer file. This makes code reviews and svn logs quite useless for UI issues as a little change is lost in the countless auto-generated ones. Same goes for the auto-generated .resx files. I'm sure this issue has been annoying more than j...

Visual Studio assembly registration

I am trying to compile a sample from ESRI and I get this error Error 1 The command "esriRegasm.exe CommandInheritingBaseCommand.dll" /p:Desktop /s" exited with code -1. So somewhere in the project there is a command to invoke esriRegasm.exe, but I can't find it. I right clicked on the project -> properties and looked in Build ...

What is the difference between a Custom Build Step and a Post-Build Event?

Both project settings allow me to execute custom commands. What are the benefits or drawbacks of each? ...

How to create a .Net programming language?

I have created a few different full programming languages using some of the various parsing tools available. However, how would someone create a programming language that runs the .Net framework? Would I have to output the .Net IL and compile that or is there a higher level of abstraction? Also, is there an easy way to get the language ...

Removing T4MVC from my VS2010 solution

I'm very new to VS2010, so this is more a question about using Visual Studio 2010 than T4MVC. Anyway, I wanted to remove T4MVC from my solution, so I deleted the two files from my root directory. However, when I rebuild and debug my solution, I still see compilation warnings associated with T4MVC.tt. What step am I missing here? Th...

Is it possible to get intellisense for jquery in other js files?

I am working on a web page that has a reference to jquery and another js file with custom javascript for that page. Since the custom js file is external it isn't showing me intellisense for jquery. any way to get it to work? ...

Using C Preprocessor to Determine Compilation Environment

I am building an application that consists of both a windows driver written in C and a user mode executable in c++. They both use a shared header file to define several macros, constants, enums, etc. In the c++ version, I want to include everything within a namespace, which a feature not supported by the c compiler. Is there certain v...

How can I redirect Visual Studio’s “Output” window to DebugView?

I’m using Visual Studio 2010 to write unmanaged C++ code. When debugging, anything printed using OutputDebugString or MFC’s TRACE macro goes to Visual Studio’s “Output” window. I would prefer to see the output in DebugView instead, while still running under the MSVC debugger. Is this possible? ...