visual-studio

Integrating 3rd party C++ compilers with Microsoft Visual Studio

Duplicate issue: I have read this thread and this thread and these didn't quite answer my question. Question:: Is there a way I could make Visual Studio use g++ or comeau or other as the C++ compiler. If so, has anyone tried it? Any feedback? Reason: Love microsoft's IDE, hate their compiler. ...

custom controls with sub components ownership

I have a Visual Studio designer enabled control which uses a collection editor to allow the user to create and edit sub components. For example, I have a control which offers a readonly "List" property containing a collection of bindings (themselves components with a name property and an event). The user can modify this list of binding...

How do I create a shortcut with the name set to [PRODUCTNAME] in a VS Setup and Deployment project?

In my VS Setup & Deployment project, I want to create a desktop shortcut whose name is set to the [ProductName] property. Instead of using the property, the setup program simply treats [ProductName] as a string literal. How can I get it to behave the way I want? ...

Send xml to web service and get response.

I have an endpoint to a web service, I have a .wsdl file with the information in it, as well as a .xsd file. I have created a web reference application using the endpoint in VS. Now I want to send an xml file as a string and get some form of response from the service. HOW can I do this? I need a complete waalkthrough in terms of VS. Than...

WPF/C# can't find valid assembly reference

I've downloaded an open source third-party assembly for use in my WPF/.NET 4/VS2010 project. I've added a reference to the project's DLL and verified that VS2010 can see it by walking through the exposed classes in the object browser. When I add a "using" directive to the appropriate class in my project, Intellisense offers the new ass...

How to stop T4 from executing every time I switch to another tab?

When I edit T4, the script is executed every time I switch to another file. It is OK for quick simple scripts, but some scripts take long time to execute. Is there a way to disable this behavior? I want the script to run only when I save T4 file or manually choose "Run Custom Tool" from the menu. ...

How can I tell P4SCC to ignore files?

I started on a new project a few months ago and am forced to use perforce (pun intended). I have experience with a variety of distributed and monolithic VCS, especially SVN with Ankh as SC plugin in visual studio...that said, I have been evading some..quirks perforce has by applying various workarounds you can find, mainly here on SO. Th...

Capturing popups with Visual Studio Team webtests

We have a number of popups (generated using Javascript) that are displayed during page navigation. When we record the webtest, the script doesn't capture all of them. If there a way around this? ...

Debugging stored procedures in Visual Studio 2008 Pro

I'm trying to setup debugging of stored procedures in VS 2008 Pro, when I right-click on the connection in the Server Explorer I don't see the Allow SQL CLR Debugging option at all. The SQL Server is remote and running the 2005 express edition, so I'm not sure if I have to enable something on the remote server itself. Any help is appre...

visual studio performance tools, not instrumenting an assembly

I've got a solution which I am trying to profile with instrumentation. The resulting report seems to collect only up to a certain depth, and even though all of the projects have been added in the Targets section, it's not capturing the full stack in a given assembly. Is there a setting I'm missing or something? ...

C++, need help with pointers created with strcat!!!

I need to append a number at the end of the word flare depending on how many I have. That part works great. My problem is when I go to print it to the screen. I would like the program to output the value of what (Camera::Table[Id]->sensor->flare1) sensor is pointing at, in this case, flare one. If the program were to continue it would ou...

x86 MUL Instruction from VS 2008/2010

Will modern (2008/2010) incantations of Visual Studio or Visual C++ Express produce x86 MUL instructions (unsigned multiply) in the compiled code? I cannot seem to find or contrive an example where they appear in compiled code, even when using unsigned types. If VS does not compile using MUL, is there a rationale why? ...

Visual Studio 2010 tab close button.

I'm used to having the 'x' close button that closes each tab you have open positioned on the right, the way it is in VS 2008. In 2010, each tab has it's own 'x' close. I like this but would also like to have the old close button too. Anyway of doing this? ...

jQuery 1.4.3 vsdoc

Does anybody know where I can get the vsdoc for jQuery 1.4.3? Alternatively, what changes do I need to make to jQuery 1.4.2 vsdoc file to add the new functions in 1.4.3? ...

How to debug into CUDA kernel code using visual studio 2008?

Hey, I am using Visual Studio 2008, with CUDA 3.2. I am trying to debug into a function with this signature: MatrixMultiplication_Kernel<<<dimGrid, dimBlock>>>(Md, Nd, Pd, Width); I can step into the function, however when I get into the function it doesn't let me step over any of the code and tells me that no source is available. An...

C# -->Go to Definition ==> VB.NET

I have a solution in VS 2010. There are two DLL projects: one UserControl in C# WPF (myCSharpUC) and other - WinForm UserControl in VB.NET (myVbUC) Actually in myCSharpUC I have an instance of myVbUC: myCSharpUC { private MyVbUC vbControl; ... somemethod() { vbControl.MyProperty } } Is there a way to "nav...

Installing and Using jQuery Toolbox

I have never designed a webpage before, but I am asked to do this and will be using jQuery. I was wondering, what is the best and easiest way to do this? I thought of doing this on Visual Studio using only jQuery and HTML controls to produce an html page without any asp.net controls. Is this possible? How can I get this? And if you have ...

VBA - Automated Excel 2007 Document in Visual Studio

I have currently written a sub, written in VBA, that is called by the click of a button on an excel document. The sub takes data in the cells of the document and sends them to a web service. All of this works flawlessly when Visual Studio automates Excel. I am wondering if there is a way to save this excel file to where it does not ne...

Looking for a tool to change the reference to Project Reference

Is there a tool that can do this: when we add projects to our solution, it should be able to the references to "project references" , so we do not need to do it with hand. ...

what can cause Visual Studio to rebuild my entire solution all the time?

I have a largeish solution in Visual Studio 2008 (around 30 projects, all C# and Script#), including some test projects. When I start the application or run my tests, way to often Visual Studio rebuilds everything rather than just the changed parts and their dependencies. If I don't change anything at all, it will not rebuild, but as s...