visual-studio

Key shortcut in Visual Studio to open a file inside your solution?

Is there a key shortcut in Visual Studio to find & open a file inside your solution? Without using Resharper or any other tools, just VS2008? ...

Easiest way to use Vista icons in VS 2005?

I've downloaded a Vista icon from the web for a new application I'm developing. When I try to compile it in Visual Studio 2005 C++, I get an error message: error RC2176 : old DIB in res\XXXXX.ico; pass it through SDKPAINT The error message seems a little misleading, I think the "old DIB" is actually a newer format that it wasn't ex...

How do I create a C++ or C# project, in Visual Studio 2008?

Thanks in advance. ...

Visual Studio, Distributed Version Control, and Sourceforge

I'm trying to set up a new Windows computer with Visual Studio 2008 to work on a Sourceforge project I maintain. I'd like to use a distributed version control system (tried SVN, didn't like it). I've used git and mercurial before on UNIX, but I'm having no luck finding a quality plugin that integrates in Visual Studio 2008 and allows me...

What is the cost of coding and deploying asp.net MVC or stackoverflow.com, ASP.NET MVC VS struts,spring

I'm wondering what the cost is in tools to work with and deploy a website like stackoverflow with asp.net mvc. I have just checked and it seems like visual studio professional has suddenly got a lot cheaper, infact almost too good to be true price. But if they are working with SQL enterprise, the cost of this seems around £10,000 for t...

How to detect whether there is a specific member variable in class?

For creating algorithm template function I need to know whether x or X (and y or Y) in class that is template argument. It may by useful when using my function for MFC CPoint class or GDI+ PointF class or some others. All of them use different x in them. My solution could be reduces to the following code: template<int> struct TT {typed...

Adding a Menu item to the context Menu in a VS2008 DSL

I'm currently trying to create a Bi-directional DSL for the company I'm working for and want to add a context menu to the diagram to provide a mechanism for the user to request a code import. I know that in VS2005 the Commands.ctc file is used to achieve this and 2008 appears to be using Commands.ctc. However its not very easy trying to ...

Visual Studio 2005/2008 IDE (auto-select file in solution explorer)

Hi, I have some very big solutions (lots of projects, lots of files). I was wondering if it's possible that when slecting a document from the open documents (naivgating through the tabs) the current file would get selected in the solution explorer tree view. ...

How to Set Path Environment Variable using CMake and Visual Studio to Run Test

I am using CMake to generate Visual Studio project files. I want to run the test executable after setting the PATH environment variable so that it is able to load the required dll. I tried as per the discussion at http://www.mail-archive.com/[email protected]/msg21493.html but it does not work. Have you used CMake with Visual Studio for ...

Connecting to Team Foundation Server (TFS) with proxy authentication

Yesterday I created a new project in Codeplex. I created a connection from Visual Studio to the TFS server I was assigned and uploaded my solution successfully. Today I'm trying to connect again to the Codeplex TFS server to work on the solution. When I try to open it, I get the error: Team Foundation Server https://tfs06.codeplex....

Intellisense tip and XML returns comment (VS2008)

I've found tooltips displayed by Intellisense when keying method name as very usefull but I can see only summary and params info - no returns comments Eg - I can not see below comment: <returns> Enriched object</returns> Is it a way to make it visible? EDIT Maybe you know the tool replacing standard Intellisense and displaying r...

How to move between words in a function name in Visual Studio Express? Ex : public void moveCursonBetweenTheseCapitalizedWords() { }

Like in Eclipse, when we say Ctrl + Left/Right arrow, the cursor moves between the words in a method when they are capitalized. I would like to do the same in visual studio express. Is it possible? currently when I say Ctrl + Left/Right, the cursor moves to the end considering the whole function name as a single word. ...

Run Tests Unavailable in Visual Studio

Not strictly a programming question, but definately programming related. The option to run tests in Visual Studio is greyed out for some reason. I've just started a File | new MVC Application, using VS2008pro. Any idea what causes this / how to resolve it? ...

call stack and disassembly doubt.

Three doubts 1) Suppose I get the call stack as below user32.dll!_InternalCallWinProc@20() + 0x28 bytes user32.dll!_UserCallWinProcCheckWow@32() + 0xb7 bytes user32.dll!_CallWindowProcAorW@24() + 0x51 bytes user32.dll!_CallWindowProcW@20() + 0x1b bytes Now what are the bytes mentioned at the end of each function? Like for f...

Printing a PDF from a Windows service

With C#, how can I print a PDF document (without any dialog boxes in the background) to an indicated printer? ...

Is there a way to print the method separators we see in Visual Studio 200X - VB.NET ?

In a Visual Studio - VB.NET solution separators are drawn between methods in the code window. Is there a way to also show these on code printouts ? ...

How to get VS2008 to create a different *.DLL name after you have already created the project?

To create a project in VS2008 you have to assign the compiled output a name right when you create the project. If you are creating a class library this output is <output name>.DLL. I can change every other name in the project through the VS2008 interface. If I later regret the output's name I cannot find a way to change the project's ...

Setup Project for Windows Service won't build under Server 2008 (Visual Studio 2008).

Hey everybody We've got new machines here for doing development on running Server 2008. With Visual Studio 2008 we're having problems building a Setup Project which installs the Windows Service - Under Custom Actions then Uninstall, "InstallerClass property is only valid for assemblies". This builds and installs fine on XP SP3. Has a...

Properly assigning Namespaces (with ReSharper's suggestions)

Lets say we have the following file and [folder] structure in a project with a main namespace of MyNamespace: [Entities] Article.cs Category.cs [Interfaces] IReviewable.cs ISearchable.cs Enumerations.cs According to ReSharper's suggestions, the namespace of the classes Article and Category should be MyNamespace.Entities, the name...

where to access the website administration tool in visual studio 2008 professional?

does anyone know where to access the website administration tool in visual studio 2008 professional? ...