visual-studio

How to create a visual studio plugin that controls winamp?

I often listen to music while I code. Switching songs while in the middle of something damages your productivity because you have to move to another window. How would you implement such a plug in and in what language would I be more comfortable with if I want to interact with the winamp sdk? I'm a C++ programmer but I can get by with C# ...

How can I tell the Visual Studio debugger to never step into a specific file?

I have a couple ANTLR-generated code files, and I'm currently happy with how they are working. I'd like to configure my project in Visual Studio (2008) so the debugger skips over methods defined in those files. How can I do this? ...

how can i program this ui box

in what way can this be programmed. a UI box that displays random number between min and max value for 2 seconds then shows blank for 2 seconds then shows another random numer for 2 seconds then shows blank for 10 seonds and then repeats the cycle infitely until form closed. Font of the text to be configurable. any help at all will be ...

MyController class must produce class according to the enum type.

GenoTipController must produce class according to the enum type. i have 3 class: _Company,_Muayene,_Radyoloji. Also i have CompanyView Class GetPersonel method. if you look GenoTipController my codes need refactoring. Can you understand me? i need a class according to ewnum type must me produce class. For example; case DataModelType.Rady...

Is it possible to programmatically clear the Ouput Window in Visual Studio?

Do you know a way to add some code that, during debug, programmatically clear the Output Window in Visual Studio? Or do you know some fast alternative like a key shortcut? ...

How do I set a resource file to non-embedded

In Visual studio 2008 is it possible to have a resource file that is included as a separate file after compilation rather than as an embedded resource. This is to enable small changes to be rolled out more easily. I have tried build options of Resource, None, Compile and also copy local on and off for most of these. However when ever ...

VS 2005 Class Diagram View format

Hi, I have generated class diagram by gight clicking and selecting generate class diagram usign VS 2005. There are nearly 300 class in my project . The class diagram that i have created is not in expanded view. I have to manually expand the class diagrams to view the members. Is there any way to expand the classdiagrams that are created...

Regular DLL using: MFC Shared vs MFC statically linked

When we create a DLL using Visual studio (VC8 or 9), we get an option as create Regular DLL using MFC as shared DLL or using MFC as static library How are they different? Which one is advisable to use? ...

Make Visual Studios "Add Service Reference" Feature use an existing Class

When I add a service reference to my Visual Studio 2010 C# project, a new class for one of the types defined in the WSDL will be generated. A de-facto equivalent definition of that type already exists in our solution in a different assembly. When adding the SoapTypeAttribute to the existing class and replacing the references to the gene...

Visual Studio keeps asking the FTP password when publishing with ClickOnce

Hi, I publish my application on a FTP server. I gave the FTP account information (URL, user and password) to Visual Studio but it keep asking me the FTP password each time I click the Publish now button. Why VS doesn't automatically fullfill my password? ...

List of Source Control Systems with Visual Studio Plugins

Is there a list of all the source control systems that have visual studio plugins? If not, we can make one here... ...

How to add XML elements into the toolbox in Visual Studio 2010 RC

I'm trying to edit an XML schema in Visual Studio 2010 Ultimate RC, but when I go to the toolbox (with the schema open and focused) there's absolutely nothing in the Toolbox view, even when every tutorial out there that I've read tells me that there should be. I've tried using the context menu option for resetting the Toolbox to no effec...

Error referencing System.Web.Mvc from csc in Visual Studio 2010 RTM

csc /target:library /reference:System.dll,System.Web.dll,System.Web.Mvc.dll Foo.cs Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1 Copyright (C) Microsoft Corporation. All rights reserved. error CS0006: Metadata file 'System.Web.Mvc.dll' could not be found (Note - it does exist in the GAC under GAC_MSIL fol...

Visual Studio C++ Solution in Maven2

A new project is coming up that will require interaction between Java and C++. It's been decided that the project will be built via Maven2. Unfortunately I don't know anything about Maven and the Java guys don't know anything about C++. They have their build chain all set up with various reports being emitted for each part related to ...

How can I make VS2010 behave like VS2008 w/r/t indentation?

Situation I have a plain text file where indentation is important. line 1 line 1.1 (indented two spaces) line 1.2 (indented two spaces) line 1.2.3 (indented four spaces) In Visual Studio 2008, when I pressed enter, the next line would also be indented four spaces. However, in Visual Studio 2010, when I press enter, the next...

Does .net 1.1 support 64 bit OS?

If so are the changes I would need to make to an existing program written in c# vast? ...

How to unit test control library?

I program simple control library that checks user input from text and format the input.I want to make a unit test.How can I do that ? ...

Simple C++ program on multidimensional arrays - Getting C2143 error among others. Not sure why?

Here is my simple multidimensional array program. The first error occurs where I declare the function addmatrices and then a second one where it is implemented. I am also getting an undefined variable error for bsize. What am I doing incorrectly? #include <iostream> #include <fstream> #include <string> #include <iomanip> using namespa...

Deleting a folder in TFS

I created a folder in a TFS Project under workspace "CPortalWS". I deleted the workspace, but now I would like to delete the folder in the project and the delete option is not available. I've tried to create a new workspace mapped to the project but I still don't get the option to delete. Is this a bug in TFS? How can I delete the fo...

Referenced Assembly won't load

I've got a visual studio 2010 project which publishes an assembly called myAssembly.ddl. I then want to reference myAssembly.dll from an existing vs 2008 project. If I try to load the reference it comes up with an yellow exclamation mark next to it, suggesting that the assembly wasn't loaded. However, I'm not getting any error messages ...